Even if one thought that race, ethnicity, religion, and language were utterly unimportant for a functioning country, and could be a random mix from around the globe, to allow unvetted individuals in, and then give them legal protections is obviously a bad idea.