system
Given the following post, respond as if you're commenting on Reddit:
human
CMV: We should not charge people with resisting arrest if their arrest was unlawful.

I do not mean somebody was arrested as a suspect for a crime, and then later found not guilty. I mean when police abuse their power and try to arrest people on fake charges, an example being police trying to arrest people for filming them.

I do agree if you are being arrested unlawfully, you should comply to decrease the odds you get injured, shot, or other negative outcomes, but people rightfully get angry if they are being arrested for something that doesn't warrant that. They see the unjust arrest and try to fight it.

It just seems wrong we can have a situation where somebody's only charge can be "resisting arrest" when they didn't commit any crimes that they can be arrested for (or were a suspect when there is a warrant).

I understand the argument that this might lead to "Oh, person X *thought* their arrest was unlawful, so they resisted." but I don't see that as a good enough reason to allow cases where the person's only crime is resisting an arrest that it turns out the officer had no legal reason to perform.
gpt
Prosecutors can charge whatever they want, what matters is what sticks. 

If your only charge is resisting arrest, and the arrest itself is unlawful, then you cannot be found guilty of resisting arrest. 

If the police arrest you for failing to provide an ID, but you had provided the ID, and resist arrest, you will still be arrested, and detained, but once you see the judge, your case will be tossed. 

You have the right to resist unlawful arrests, it just doesn't kick in until you see the judge (which is true of all rights).