It's not just the measures themselves. It's the racist rhetoric that comes with them. An anti-immigration law is introduced, right? Well, that starts the debate...and once the public begins debating it, the racists come forward and start spewing their nonsense.
The racist element will be small, but they're very LOUD. And of course the media is going to make sure that it is the most inflammatory voices that are heard.