What I'm rejecting is the idea in the parent comment that democracies can vote directly on expelling entire classes of people. There's a long history of such political expulsions and none of them are periods to look back on fondly. The expulsion of Germans from the Sudetenland killed tens of thousands, and the expulsions of native americans speak for themselves, as does the legacy of operation wetback.
And for what it's worth, I've had the distinct pleasure of being interrogated by the Mexican military at gunpoint while hiking because they thought I was a coyote. I've also been held in the small rooms on the US side. I'm extremely familiar with both sides of that particular border.