They could enact a law that stipulates you have to be a resident for a number of years to run for office or buy land.
Or can't be a politician while being a citizen of any other country. We're a poor and weak country so we let it slide but if we were wise and had the luxury we'd see the security concerns in letting someone who made oaths to another country run for office in ours.