The only time the prison can lawfully hold a person is following a committal by the court, at that point they are remanded into prison custody and are handed over by the Police. The only exception to this rule is in immigration cases whereby the immigration service will issue a holding warrant and the person.