I think if you're desperate enough to get in a wee boat ,often with children then you take priority .
Sofa surfers,not something we hear much in my neck of the wood have a roof over their heads ,The homeless problem will never be solved,though there were nights during the pandemic when there were less than 10 people sleeping in Glasgow streets ,many went back out when the weather was less harsh ,mainly because they weren't allowed to use drugs or have a dog in the hostels .
Whether they come from war torn countries or places where they wold be persecuted for their religion or sexuality is immaterial .They must be allowed to work ,many have skills we desperately need and bored people will be happy to work and pay their way ,