Everyone and everything can be corrupted. Your train of thought that the “wrong” type of people gravitate towards these posts is taking a biased approach. It’s closer to reality to say that the vested interest in corrupting these positions will always be a strong contestant to the rule of fair and unbiased law.
No legal system can unflinchingly endure the internal and external manipulations seeking to exploit it because regardless of how much we intend its fairness, we ourselves are unfair and malleable - intentionally or not.
Hello there. If you’d like to go on a wild goose chase, I can tell you that some years back on the PPSSPP forum there was a thread asking about this sort of thing. If you can find it and if it received an answer, then you might be able to solve this conundrum.
Have fun!