I think a big problem with a lot of government positions or other legal positions are that a noticeable (hence this situation) percentage of the people are power-hungry, or have a chip on their shoulder.
Which results in unspeakable, completely illogical results like this - torturing someone to feel like you have power, and then being able to get away with it because of an obfuscating and broken legal system, filled with good law people and bad law people.