Yes, if the biggest political issue in that country at the time was would-be immigrants taking advantage of the slow legal process in order to stretch out their illegal stay in the country longer.
Why not let the judge say "you shall be immediately deported" and then immediately deport them? Right now they're not even letting the judge issue a decision.
Speed doesn't always mean accuracy either.