It's not the judge's fault
I don't know why you are so upset at the judges. They are stuck in what their actions. They apply the rules of law that were written by the politicians. The only way that a judge can overturn a law is if one side, usually the defence, makes an argument that the law in question violates a right or freedom or breaks another law. It doesn't sound like that's how the defence argued the case this time so the law still stands. The judge is unable to do research on their own on matters unrelated to evidence not presented in the case.
You should be directing your anger towards the politicians who created the law in the first place and those who have failed to repeal it.