If a law was broken, no matter how insignificant, you keep your mouth shut and follow orders. If you feel you have been wronged, take it to trial. End of story.
There are good cops and there are bad ones. Without being there and seeing the entire situation unfold, none of us can say for certain...