The Home Office has won its appeal over four Syrian refugees living in the 'Jungle' camp in Calais who were allowed enter Britain.
Three teenagers and a 26-year-old had argued they should be reunited with their families living in the UK.
Lawyers for the refugees had said they lived in "intolerable" conditions in the camp and their right to a family life would be upheld if they lived in the UK.
ITV News Deputy Political Editor Chris Ship reports:
An immigration judge ruled in their favour earlier this year, and the four Syrians were brought to the UK.
At the time campaigners hailed the landmark ruling and hoped it could pave the way for other unaccompanied minors to leave refugee camps and enter the UK.
Handing down their judgement on Tuesday, three Court of Appeal judges overturned the decision and "allowed" the Home Office appeal.
However the four men would not face deportation as they have already been brought to the UK.
According to the Dublin Regulation, asylum claims can be made in the first country a person reaches, but a child can transfer their claim to another country if they have relatives lawfully living there.
In this case, immigration lawyers for the four men had argued the regulation was not working as not a single child had been brought to the UK under this rule before the case was brought.
They added it would take up to a year to process their application because of bureaucratic failings in France.