I believe it's the primary reason for the complete apathy law enforcement shows towards de-escalation and self-restraint in general.
Why bother behaving when the standard for prosecuting you is so high as to be laughable?
One of the big issues in law enforcement reform is have more police who actually live in the communities they serve and patrol. This (in theory) should address the idea that if you've had previous run-ins with a low level criminal, you're more apt to show compassion and understanding when you have your next contact with them. You take into account you know they're not harming anybody, and most issues can be handled with simple conversations.
I live in Minneapolis and there are so many reasons Chauvin shouldn't have ever been given a badge and gun. 15 complaints of police misconduct/brutality, his personal relationship with Floyd has been well documented (they worked in the same bar). He was put on Park Patrol after his last incident of brutality, yet was one of the first to respond to the call - which is perplexing. He also worked at a local bar and the managers and owners said he had a quick fuse and was quick to violence to end disputes in the club. He also lived in an upper middle class suburb, far away from the streets he patrolled in Minneapolis.
I would also point out a black Muslim cop was recently sentenced to 12.5 years for fatally shooting a white woman when she approached the squad car after she reported a sexual assault near her house. The charges in that case are almost identical to what they've charged Chauvin with. It will be interesting to see how this trial goes and what kind of a sentence he will end up with.