A family of Mongolian asylum seekers have expressed their delight at being freed from a detention centre.
Misheel (r) is set to be princess of the Liverpool Lord Mayor's Parade
The Narantsogts had spent two weeks at Dungavel in Lanarkshire after a second application for asylum was refused.
Jugder, 38, Shinee, 37, and children Evsaana, 17, and Misheel, aged eight, had been living in Liverpool before they were taken to Dungavel on 3 June.
Their lawyer said they had been released while a fresh application for asylum was considered.
Misheel told reporters outside the centre that she would now be able to fulfil her dream of being crowned princess in the Lord Mayor's Parade in Liverpool on 10 July.
She said: "It is nice to get out, I am excited that I am going to be a princess, I am really happy."
They were moved to Dungavel after Riverside MP Louise Ellman secured an emergency deferment for the Home Office to reconsider their application.
The family fled the country two years ago after Mr Narantsogt was arrested for opposing the ruling Communist Party.
Speaking outside the centre, Shinee said: "I want to thank everybody for supporting us and for helping us, I am glad to be going home.
"Conditions were not bad at Dungavel and the people were very friendly and they supported us. We would also like to thank our friends in Liverpool.
"We were in Dungavel for two weeks and the people here are very nice but really it was very difficult, especially for our children."
Jugder said he could not imagine what would happen if he was sent back to Mongolia but added that he could not say anything about it in light of the family's fresh asylum claim.
Evsaana said he was looking forward to returning home by train from Glasgow as he would be taking an English exam on Saturday at Hugh Baird College in Bootle.
He said: "It was not nice. I cannot go outside without my parents and could only go out at certain times."
The family was taken to Dungavel on 3 June
Scottish human rights lawyer Aamer Anwar was delighted that the family would be able to return to Liverpool.
He said: "It is a disgrace that the Scottish Executive did not speak out about this family.
"This is the start of the campaign to keep the family in this country. We hope the government will see sense and allow them asylum in this country."
Mr Anwar added: "We have launched a fresh asylum application on behalf of the family on the basis it is not safe for them to return to Mongolia.
"I have said to the family that I will continue to represent them should they so wish."