The basis of our 'justice' system really does stem from the days of witch trials and having champions duel for you, except the champions are lawyers these days.
It's not like this everywhere though. In France for example, the judge is in charge of an investigation to find what happened. And get this - they are actually trained!
There is an interesting book called The Cartel which traces the history of our legal system and shows the way lawyers have taken over procedings.
Lawyers are like the new priests, without them you cannot become holy in the eyes of god - the judge. And of course they hold the sacred knowledge, quoting LTSA clauses like the gospels.
Despite the internet, their 'bible' is not easily accessible either.
They have access to discuss matters and plea bargain with the prosecutor before trial too - can you do that? Hell no!
It's easy to spend plenty of time and money playing their game.