Let's be fair about this. You have a right to mouth off to a police officer as much as the police officer (in this case) had a right to arrest the offender. Neither are necessarily constructive, but simply allow stubborn people to prove some point. Practically speaking, one has to ask if proving that point (whether it's a point about morality or about power) is worth the risk of negative consequences.