Although it is in theory possible to appeal to a court, it is a long and onerous process that is usually completed only after the foreigner has been expelled.
Aunque teóricamente es posible, se trata de un recurso oneroso y de larga tramitación, que suele resolverse cuando el extranjero ha sido ya expulsado.