Because it's a tourist place and visitors must buy a ticket to enter this place, therefore, the crew couldn't block the people away unless the actual filming took place. Generally before the actual filming the casts must prepare for the scenes, it's during the preparation stage the photos were taken.