But it does answer the OPs question, some are better at navigating it.
I mean of course we don't want people to be convicted of things they didn't do, but how is it ok for someone to get away with something they did do, just because some bureaucrat picked the wrong law?
In fact my "judge" was a panel of lay magistrates. They must consult the Clerk of the Court (a trained lawyer) if they have any doubt about their decisions.
I like this system; I'm not keen on the idea of a judge being able to change the charges on me at trial. I think the prosecution were given the opportunity to go away and get the charge altered; but they gave up (it was 30 years ago, memory falters).
Look, I deserved to be penalised; I would have simply put my hands up, but I had to go to court to make a mitigation plea, because I risked losing my licence.
My point was just that a really good advocate is head-and-shoulders above the crowd.
We shatter the powers to bring and adjudicate charges. This creates inefficiencies, like this. But it also brings stability. (More practically, the judge may not have all the facts and circumstances relevant for citing the person.)
The copper that was standing duty as the prosecutor wasn't briefed. He had an afternoon's-worth of cases to present, and he wasn't qualified to argue a case. And either I couldn't be re-charged because double-jeopardy, or it just wasn't worth the effort.
Just as icing on the cake, my advocate was a stunningly beautiful redhead.
relevance?
My experience is that some advocates are much better than most advocates. The best lawyer I've had was a trainee barrister, standing in for a run-of-the-mill high-street solicitor, who couldn't show up. Presumably because she was a trainee, she did a really meticulous job for me, on what was a trivial offence: speeding. Few lawyers would put much effort into a speeding ticket.
She got me off; I was speeding, but I had been charged under the wrong section of the Road Traffic Act. "I humbly submit, your honour, that it would be quite wrong, your honour, for my client to be convicted of an offence he didn't commit, your honour".