Back when I was a lowly law clerk for the local federal court, I used to really struggle with cases where one party clearly had a better case than the other, but the other party had a much better lawyer.
It’s probably no surprise that the guys with the good lawyers won most of those. Not fair, perhaps, but then reality is often unfair.