Events that happened aside.
This just shows how incompetent our justice system is, especially judges. They are unable to interpret events presented to them. They are unable to interpret laws. They are unable to form proper judgments and above all sentences. Everything needs to go on appeal to get their shoddy work corrected.
I do not think our justice system is fit to put people on trial. This has been proven in OP's case and will also be proven in a more recent case - and you all know which one I am referring to.
Question is, how long can you close your eyes and hide the incompetence of such important function?