'you can beat the wrap but not the ride' has been a pop culture reference in the US since the 1940s. Our society wants/supports the ability for this to be inflicted at police/court whim on people.
Which means that, if the cops (and other relevant personnel) gets it wrong, they should get served with the same injustices that they committed, no questions asked... you know, because they didn't raise any when they were the ones dishing out punishments.
> What if no one would want to work as a policemen
This is by far the worst argument. What if we held doctors accountable for malpractice and no one wanted to be a doctor? What if we held engineers liable for faulty designs that break and kill people and no one wanted to be an engineer? What if we held OCCUPATION accountable for DOING JOB BADLY / BREAKING THE LAW? Its a nonsense argument.
What would happen is that only the people that intended to be bad police would not want to the job and/or the people that were bad police (intentional or otherwise) get kicked out of the police force. Same as with every other profession. This is a fantastic outcome and we should do it immediately.
I don't think society supports it as much as you are suggesting. Marijuana is still illegal despite 65% of the nation being in favor of rescheduling. Clearly our laws do not easily mirror what the population believes.