It doesn't make it right for them to threaten to find a way to arrest you, but it perhaps tempers the argument a little...
I'm not giving a pass to someone who can't control himself. If he just can't deal with the fact that the only crime the OP was guilty of was "failure to kowtow to the unlawful demands of an officer" (also known as "contempt of cop"), then he's not qualified to be a police officer. By your own statements, there's enough ACTUAL crime in Gary without the cops inventing reasons to arrest people. Police officers have a TON of power to destroy the lives of otherwise-innocent citizens. Too many of them forget that the consequences of them abusing that power is devastation.