Too bad, because that's what other groups do, putting those that don't at a disadvantage. And I should add - you speak as if discrimination against nativists is just a hypothetical. But it is already a fact:
In a survey, a third of liberal professors admitted they'd discriminate against conservatives. "Generally speaking, the more liberal the respondent, the more willingness to discriminate and, paradoxically, the higher the assumption that conservatives do not face a hostile climate in the academy.": https://www.washingtontimes.com/news/2012/aug/1/liberal-majo...
The University of California requires job applicants to submit a statement on how they helped advance diversity: https://www.ams.org/journals/notices/201911/rnoti-p1778.pdf