I have a friend who used to travel frequently for courses in UAE.... on one trip she flew just a few days before her permit expired, but was only gone two days... no problem...

There must be more to this story...