Many politicians on both the right and left side of the political spectrum support a nation's right to self-determination. For example many claim that Catalonia should be allowed to become an independent country since Catalan people deserve to live independently from Spain. At the same time many left-wing politicians support the right of a foreign national to enter a given country and apply for asylum despite protests from the local populace.
To me the two concepts go in direct conflict with one another, as a nation that's unable to decide who lives on their territory will eventually lose their identity through immigration, as evidenced by China's assimilation of Tibet through heavy immigration from other Chinese regions.
Does international law provide for a way to resolve the conflict between the two?