Did you ask at the immigration office that in such case, who will provide the exit permit ?