Justice in most cases means opposing political power
When has the court ever ruled in opposition to political power?
Sortition is one way, if you don’t want some entrenched faction reproducing itself.
It isn’t as though you can’t corrupt a candidate after they take office. Look at Clarence Thomas.
In fairness, that was just a coup and regime change effectively at gunpoint.