The country is sovereign. It can just make a law democratically that changes things. The sovereign must act on whatever is in its best interest. The method of action is democratic in this case.