A lack of "being polite" does not justify state sanctioned extrajudicial punishment, as your victimhood narrative implies. Sure, be polite to cops because you should be polite in general until someone gives you a reason not to be. And from a social engineering standpoint you get better results by being friendly. But as a rule one should be able to be rude to police officers in any way one can be rude to any other citizen, and if they attack you for it they should be the ones going to jail, like any other citizen. Public employees tasked with upholding law and order need to be shining examples of it, not hypocritically exempt from it.