The announcement caused a panic among men, mostly young, to get out of the country.