> but I think it's generally concerning that people can vote for leaders who effectively can't do anything significant.
The people vote for a lot more than just the president. This isn't the president's job. That's what the judge says, not that nobody can do it, just the president/executive can't.
The people also vote for the people who's job it is to have done the same thing but legally.