Senior judges ruled they were satisfied that Mr Justice Sheldon – the High Court judge that granted the temporary injunction – had acted correctly.

The injunction had only been granted after the judge learned that Home Office officials had themselves told the Eritrean man he would not be expected to pursue his case from France.

That advice to the man from government officials meant an attempt to put him on a flight was contradicting the department’s own decision to give him a short period of time to make further representations.

Today’s hearing relates to that unusual situation and there has been no court ruling against the UK-France agreement or its principles.

The Eritrean man at the centre of Tuesday’s hearing is said to have claimed he and his mother fled to Ethiopia in 2023 and that he faced harassment and threats from the local community there, before traveling to Sudan and Libya.

He then travelled through Europe to France, before arriving in the UK in August.

When asked if he had any medical conditions during his asylum screening interview, he said he had pain on his shoulder as he was hit with a small vehicle four years earlier.

Asked if he had been exploited, he answered “no”.

Home Office lawyers said it was “only at the 11th hour there was suggestion of a trafficking claim” by the man – who has been granted anonymity – and that his asylum claim had been dismissed because he had travelled through France, a safe country.

“The judge’s decision to grant interim relief, and for such a significant period in the context of this policy, causes real damage to the public interest and undermines a central policy objective,” Kate Grange KC said on behalf of the Home Office.

Kate Grange KC said there was “considerable urgency” around small boat crossings due to a “significant and sustained increase” over the last two years.

The Home Office said that as recently as 9 September it was reported that three people, including two children, died after being crushed in an overcrowded boat.

Sonali Naik KC, who represented the asylum seeker, said the judge was “entitled to grant the order in the urgent circumstances he did, for the reasons he gave and for the period he did”.

Ms Naik said the man’s case “should be considered in its own context and on its own facts”, adding that it did not have wider significance for others whom the government might seek to remove as part of the returns pilot scheme.