Queensland will join Victoria and New South Wales in calling for the federal government to stop asylum seeker children and their families being sent back to immigration detention centres.

On Wednesday the High Court upheld the legality of detaining asylum seekers on foreign shores, dashing the hopes of 267 asylum seekers, including 37 babies born in Australia, that they would be resettled here.

"Samuel" soon after he was born in Australia.

On Saturday Victorian Premier Daniel Andrews posted an open letter to Prime Minister Malcolm Turnbull on twitter that said Victoria would take full responsibility for the families who were brought to Australia from Nauru.

"I write to inform you that Victoria will accept full responsibility for all of these children and their families including the provision of housing, health, education and welfare services," Mr Andrews said.