“The only way people can trust the system is if judges can put anybody away indefinitely/permanently without trial” is such a funny idea. That is the premise of Judge Dredd. It’s like saying “Judge Dredd needs to exist”.

I am not a law genius but it seems like in real life since judges can charge plaintiffs, defendants, lawyers, and witnesses with contempt the whole “infinity jail is on the table for every person in the room” thing would make people less likely to want to engage with the civil or criminal justice systems.