As a philosophy of law point, aren't laws passed to make things illegal if they aren't wanted? Rather than legal?
"it's not that I don't like them - I am not like that, its just that I don't want illegal immigration"
BTW I don't disagree with the people who don't want everyone be welcome, I just think that their solution ideas and demands are misguided. My observation is that people from various ethnicities can function in cohesion and are about the same when they are from a similar educational background and rarely have ethnical or racial issues among themselves and IMHO all the problems will be resolved if you let people naturally find their appropriate group they belong to instead of having BS like country borders and visas and DEI or race based positive discrimination etc.