@666k9s
It's because such a law would be undemocratic.
If voters decide to vote for such a person, then that's how the election has worked out, and it would be problematic to overrule the democratic vote because the government doesn't accept its outcome.