When the corruption of the system extends to its mechanisms of checks and balances, and to Justice itself, then an outside entity is needed to remedy the problem.
In our case, that means the military.
That’s a very bad idea! Military leaders are no less susceptible to corruption than are the others. There, still, are qualified, principled people out there somewhere.