Part of a Union's job is ensuring that all employees and applicants have the qualifications necessary to do the work. Those qualifications could be prior experience, or the right kind of training or the right credentials like a degree or a social security number. These are all things that make it extremely difficult for companies to replace their labor with immigrants. Yet despite that fact, an astounding number of people who are anti-immigration are simultaneously virulently anti-union.