Kweku Adoboli, the former UBS trader convicted of fraud, has been given a temporary reprieve from deportation to Ghana, where he was born.

Adoboli was expected to be put on a charter flight late on Tuesday, but a judge has awarded a last-minute judicial review of his case.

The reprieve will last “until such time as the outcome of the review is determined”, the judge said.

Adoboli served four years of a seven-year sentence for a £1.4bn fraud.

He has delivered training to people in the banking industry and to civil servants, and was staying in Livingston, West Lothian, prior to his detention.

Kweku Adoboli outside court during his trial

Campaigner and friend Nick Hopewell-Smith said “common sense” had prevailed.

“Kweku Adoboli may have been born elsewhere, but he is more British, with more loyalty to Britain, than many people with a passport,” he said.

That loyalty had been “severely tested” by the actions of the Home Office, he added.

Since he was detained on 3 September, almost 75,000 people have signed a petition against his deportation, with more than 130 members of the UK and Scottish parliaments signing a letter to Home Secretary Sajid Javid asking him to intervene.

Immigration minister Caroline Nokes had said earlier in a letter that all foreign nationals sentenced to more than four years’ imprisonment were subject to automatic deportation unless there were compelling reasons for them to remain.

The public expected “robust action” to be taken against foreign nationals who had committed crimes, she wrote.

He pleaded not guilty, saying his senior managers knew what he was doing and encouraged him to take risks.