Our society and laws were built around the idea that most laws were difficult or impossible to enforce, the rules are unreasonably harsh with the knowledge they were somewhat symbolic.
In a future where it's possible to thoroughly enforce laws we will have to rewrite them to encode the original intent. Permitting some amount of rule breaking even if we can detect it, or making the penalty more of a prod than a life altering consequence.
I wonder if AI could also make monitoring of the watchers easier as well. State mandated automated monitoring of the interactions these officers make with surveillance systems to provide verification no constitutional violations were done, which would trigger a human investigation with receipts. But the police unions will probably resist that like they resisted bodycams.
Or just introduce mercy into the justice, i.e. randomly not enforcing sentences.