Solution: build technologies which make government statute effectively irrelevant. It must be uncensorable even by a nation-state adversary, and must hide its users and their activities. The future is software technology designed to thwart the ability of prosecutors to introduce evidence into a court. We must fight against the state's War on Crime with everything we have; the state has abused that war for centuries to justify its expansion. Courts should only bless victims taking revenge or retribution, offer an optional institution of rehabitation and recompense that the convict can voluntarily ascend to, else if the convict chooses to be free then he's at the mercy of the victim and whatever the victim chooses to do to the convict. Court cases should not result in involuntary imprisonment but only voluntary, incentivized by not being assaulted/killed in public as an outlaw. (Elected oath taking office holders excepted, prison should be a real possibility.)
It matters more to restrain and limit the state than it does to punish bad behavior. Furthermore the state has committed countless crimes in its treatment of the customers they chose to condemn, and ought to be dissolved entirely down to the office clerk. Unfortunately, the only way that happens is law of the guillotine.