Potentially in ~100 years you could have two AIs sort out the cases. If you can't afford a really good AI to defend you, you can use the public-defender-AI which is trained on the same dataset as the prosecutor-AI. Only involve humans on appeal. It sounds dystopian but I can't see why not to do it, in most simpler cases it's a waste of a human to repeat the same argument for the hundredth time.
There's already things like this without AI to sort out for example EU flight compensation (companies like https://www.airhelp.com/en-int/), parking tickets (https://www.appwinit.com/) and probably more that I don't know about. All of these are complete waste of time to actually have humans deal with, and there's many more small crimes that could work the same way, also to make prosecutor offices more efficient and less biased hopefully.
There's already things like this without AI to sort out for example EU flight compensation (companies like https://www.airhelp.com/en-int/), parking tickets (https://www.appwinit.com/) and probably more that I don't know about. All of these are complete waste of time to actually have humans deal with, and there's many more small crimes that could work the same way, also to make prosecutor offices more efficient and less biased hopefully.