You all expect the court to be dark faced Mr. Bao to what who judges right/wrong personally based facts presented to him. Sorry, the legal system does not work exactly in that way.
In this case the court does not judge just based on presented facts becasue it's not in a position to do so. It makes judgment based on who is telling a more compelling story using legal language. In otehr words you should expect the judge to be convinced by the defense lawer instead of by the facts alone. You want to win, you begin with hiring a lawyer who really knows how to convince the judge. It's just this simple. All teh talks about these funny definitions outside the court is just useless crap.