Take the criminal mischief charges if you believe your cause and actions were correct. This happens far too often. I knew somebody who went to a protest (that did not have a permit) in DC with her son, but when it came time for the police to round them up, they said that they were just walking down the street.
Well, that's one approach.
I have a different view.
When I know that what I believe is correct, and that I have done the right thing, my attitude is such that nobody has the RIGHT to punish me for doing the right thing. Accordingly, I do not view the person with the authority to punish as having LEGITIMATE authority in such a case. Simply cooperating with authority and letting it punish me is letting the bad guys inflict pain on me that I don't think they have the right to inflict in the first place.
Of course, therefore, I do not feel obliged to cooperate with their oppression of me, for instance by telling them the truth. If what I am doing is right, but somebody is going to punish me anyway, I assert my sovereign right to defeat them by lying to them. That too is part of resistance.
Fortunately this doesn't come up very often.