Appiah in Foreign Affairs writing in defense of Cosmopolitanism
Furthermore, societies have moral and legal duties to admit at least some foreigners—namely, those escaping persecution and death. Those obligations are shared by the community of nations, so the burden must be distributed fairly. But each society must contribute to meeting the need.
The fact that the localists share societies with cosmopolitans in countries that have duties to asylum seekers constrains the ways in which the localist camp can achieve the comforts of home. But the existence of the localists constrains what the cosmopolitans can do, as well. Democracy is about respecting the legitimate desires of fellow citizens and seeking to accommodate them when you reasonably can.