I love it when the cops try to fucking gaslight you. It's real fun. It's even funner when you have to keep your temper and not utterly lose your shit on the cop.
I scare them off by quoting law. When they know you're armed with information, the gaslighting and fuckery usually stops. If not, you might have a case.
Yeah, unfortunately, there wasn't a specific city code or law that I could quote them. They were questioning my senses.