Not advocating for that specific list of actions, but the idea is that the courts have the power to do those kinds of things, not politicians. That's the whole point - you set up the legal system in a way that helps to keep democracy stable and then the courts enforce that so politicians don't have untrammelled power. That's (theoretically) why the judiciary is a separate branch of government.