You can contact your sponsor. If they have the e-government card, they can process your exit permit immediately, available 24/7 from any computer with internet connection
Now, if you work for a company or government and it happened that they were closed that day or time...you are locked-in :O
Welcome to the big, open air "cage". Talk about human rights