I'm not sure about Denmark or Sweden, but when I was living in England a few years back, the right-wing tabloid press used housing policy as basically a cudgel to drive voters into the arms of right-wing politicans. The basic story they seemed to run every few weeks was some immigrant (preferably Middle-Eastern) family who got a free house that was denied to locals. This kind of story was what drove a lot of voters into the mess of Brexit that they're still in.