Short answer: you’re not. There are lots of ways to discourage illegal immigration that don’t require identifying and deporting 12 million people, which is not going to happen in any case.
And none of them would be as effective as positive ids in mho.