I support the "Blue Gang" but I have never been in a situation where one lied in court to win his case. I have been able to stay out of their way most of my life and now with marijuana being legal there is one less thing to fear from them. I suspect my elevated age has a lot to do with the way I feel.
I support the Blue Gang as well. I just don't fully trust them after watching them in action and consider them lesser of the two evils.
As has been noted, they are people, with people issues, and some are there to selflessly protect and serve, while others are drawn to the profession in search of dominion over others to bolster sagging egos.
Sadly, when you look into the abys, the abys looks back at you, so part of people issues is becoming jaded by experience. Interfacing daily with the dregs of society takes its toll on even the kindly servants and doesn't improve their perspective or temperament.
Having had a family member work as a deputy provided some insight, as he grew to feel that it was fair game to lie to get a conviction, if the conviction was deserved in his perspective.
It is also a brotherhood and good ole boy network that cover each other's six. I once demonstrated with photographs that a traffic officer was lying and got the case dropped due to "reasonable doubt", only to be later accosted by other officers trying to disprove my irrefutable proof, and the officer who lost threatened me on the way out, telling me that he knew where I lived and worked and that he was going to get me.
My wife was a legal assistant, which is how I came to lose confidence in the legal justice system. I came to believe that the best defense is to stay out of it and endeavor to make that so.