The issuance of a detention order is an administrative matter and in practice leaves the foreigner with no chance of lodging an appeal against it.
La orden de detención se decreta administrativamente, y sin dar posibilidad, en la práctica, al extranjero, de apelar dicha orden ante un juez.