In one court case - where a company I had a majority stake in was the plaintiff - the defendant basically had to admit that they copied the code and content of our website. Their defense: 'we did not copy it from them, we copied it from someone else' (without specifying what the 'someone else' was). Needless to say that did not end well, we were surprised they actually went to court but since this was in a country where the loser pays the court costs of the winner that did not overly bother me.
https://webwereld.nl/overheid/10591-webcamsites-bevechten-el...
(Dutch)
The quality of your lawyer will help in the gray areas, and may get you a reduced sentence in case of a criminal affair but in general you will lose if you go to court with a case where you were in the wrong. It's not a perfect system but for most cases it works out.
>And the only reason you bring it up is because it is exceptional
So you need exceptional lawyer.
>The quality of your lawyer will help in the gray areas
An exceptional lawyer will make seemingly black and white situation to looks like grey.
> in general you will lose if you go to court with a case where you were in the wrong
Sure, the point of court is argue that meaning of "wrong"
You don't 'win' a criminal suit. The standards of proof in a criminal suit are different than the standards of proof in a civil one, because the punishment in a criminal suit is much heavier than in a civil suit (where the maximum is some monetary penalty, whereas in a criminal suit it is imprisonment or in some countries even death).
I really think your view of the legal system is somewhat theoretical, there is no such case that it can always be won given the right lawyer or argument.
The reality is legal system consist of human in various capacity, judge, lawyer, jury, even public opinion. Its all boil down to convincing these human. Given the right method or argument, you can convince any human. Sure some case are harder then the other but doesn't mean it impossible. Really really hard != impossible.
>there is no such case that it can always be won given the right lawyer or argument
What is your reasoning ?