154. Detention of immigrants.

A person who is in custody after being refused admission to the United Kingdom or after an order has been made for his removal from the country may test the validity of the refusal or order by way of habeas corpus1. Alternatively, the order may be challenged by way of an application for judicial review2. The principles which the court will apply will be the same whether the application is for habeas corpus or judicial review