An Algerian terror suspect has lost his appeal against Home Office plans to have him deported.
Siac agrees with John Reid that 'Y' is a threat to national security
The man, known only as "Y", was judged to be a danger to national security by the Special Immigration Appeals Commission (Siac).
The crucial ruling indicated the panel felt improvements had been made within the Algerian regime.
The decision will also affect the government's plans to deport 15 other Algerians on security grounds.
Y had argued sending him back to Algeria would breach his human rights.
He was the first of a group of Algerians who launched an appeal against Home Office detention moves, which was heard earlier this year.
Home Secretary John Reid said he was happy with the Siac decision.
He said: "I welcome this judgement for two reasons.
"First because the court agreed this individual is a danger to national security and should be deported.
"Second because the court recognised that Algeria has changed - so as to allow us to deport this individual without jeopardising his human rights thanks to the Algerian Charter on Peace and National Reconciliation and the assurances we have received from the Algerian government".
However, human rights campaigners said they were disappointed with the ruling.
Nicola Duckworth, Director of the Europe and Central Asia Programme at the Amnesty International, said: "Amnesty International has extensively documented the persistence of torture of people thought to possess information about terrorism by Algerian security forces.
"Given the extensive evidence before the Siac that 'Y' would face a real risk of torture if deported to Algeria, today's decision can only be described as an affront to justice and wrong."
Last year 'Y' was cleared of conspiring to use the deadly toxin ricin on car door handles in Holloway Road, north London.
Siac had previously reported 'Y' was subject to a death sentence and two life imprisonment sentences passed in Algeria in his absence.
Under human rights laws suspects cannot be deported to countries where they may face abuse.
Britain is seeking to sign a "memorandum of understanding" with Algeria, aiming to guarantee that anyone returned there would not be ill-treated.
In its judgement, Siac said: "We give some weight to the assurances received in December 2005 about how he would be treated were he returned to face a retrial... and to the verbal assurances which have been received."
Lawyers for 'Y' have until 29 September to submit an appeal.