The defense ministry advised visitors to stay away “unless they want an unpleasantly hot summer break.”