There is plenty of international law on the books, and it is legitimate when it protects rights that ought to be universal for the individual, no matter what country you are in. The right to have a family is not a Chilean right, or a German right, or a Malaysian right; it is a human right. As is the right to work without being harassed. The huge increase in migration over the past two decades shows that individual well-being has developed into a more important concern in the world today than state sovereignty. Migrant protections are moral because they reflect this change.