I wouldn't say its a joke. Its one of the best systems in the world. It is flawed, but that can be fixed.
On a positive note, the truth was exposed and he was released. Hopefully the state will do right by him by getting him started back into society.