The criminal justice system has it backwards. They exist to protect the innocent population from being preyed upon by a proven preditor. It’s not their job to protect the preditor from “unfair” treatment. It’s their job to establish the fact that this person committed the crime regardless of his state of mind and do away with him in order to protect the rest of society. That’s it.
It worked well up to the point where they started worrying not just about the rights, but the FEELINGS of the criminal. How the criminal FELT.