Yeah, I understand that you would have to re-enter the country, since you've technically left after passing immigration. The problem is though is that incoming immigration is generally not accessible from the airside departures area of most airports, so assuming visa formalities were in order, how would they process your re-entry back in to the country? Send you through the intl transit area in reverse?