I would think if they were truly good law men/women, they would consider these factors and make sure their officers have the right interpretation of the law.
Let me recount a encounter. Nothing to do with guns.
Several years ago when my now adult son was 18, he was pulled over by a certain NSP because he had blue accent lights in his car. (Not flashing in his window or on his dash, just accent lights around his dash instruments and etc., common today even from the factory) The NSP officer wrote him a ticket and told him there was no waiver, he had to go to court.
I called the Captain of the headquarters and complained. I asked him to please present a reason for the stop. He would not.
I asked if I could review the tape. He said I could not.
I asked if my attorney could review the tape. He said "You don't want to get an attorney involved" . I told him it was his officer who made it a required court appearance and if my son had to go to court he was not going without an attorney.
The captain called back later in the day and said he reviewed the tape and my son was very courteous during the stop but that he would not over rule his officer.
The local judge told me he had already told the NSP never to bring anymore of these (his words) "bull**** charges" to his court again or he would immediately throw them out. The NSP was deliberately mis-interpreting the statute they were using to make these stops and issue these citations and he wanted no more of it.
In addition, I found out the officer in question was notorious for pulling over young drivers and if he couldn't get an MIP he would write them up for something else regardless.
Needless to say, my son was off the hook but it still cost me $200 for the attorneys time.
So, yes, LEO will knowingly and willfully stand by obviously wrong arrests and citations because they can't be seen as going against their officers.
This was the only bad encounter I have ever had with the NSP or basically any LEO and I admit to the un-Christian like sin of holding a grudge against the a-hole officer who wrote the ticket and Captain Ruiz can KMA.