Technically, I think that since he hadn't officially entered the country there was so such requirement.
If you are being detained by another country's security personnel, I don't think it would make a difference.