Wouldn’t that be a very loose form of entrapment then? “You’re citing me for idling but if I don’t idle you’re going to cite me for animal cruelty” seems like something a lawyer can argue up though I’m sure the idle ticket is cheaper.
Anything from "The idle laws are not new, you should have checked before coming here. You could have kenneled the animal, not brought the animal, installed an APU." There are a number of ways to not violate both laws. Just people would rather break the law than get a way to cool the truck without idling. (APU)