It is up to immigration, if an individual is in an abnormal situation we advise them to reach out to our team to ensure no issues as we will assist with their reentry, and make sure everyone is aware of why they are in that situation.
It is better to not run into this type of situation on your own as the result of it can be unpredictable, and could be costly.