The restriction has caught many visitors off guard, especially those staying in rented apartments.