Europe is always a few years ahead of the U.S.
You can’t be surprised though. Unlike here in the U.S., where you have businesses and even many individuals attracting illegal immigrants - the immigrants/refugees going to Europe are basically showing up at the door unannounced. These laws are intended to be so fukked up that it would deter additional refugees.
I don't think that will work, but I do wonder why Denmark accepts these migrants at all. With laws like this, I can only assume they don't want them. Is this an EU mandate? If so, does the EU have anything to say about this discrimination?