Article 34 Vienna Convention on Consular Relations
Freedom of movement
Subject to its laws and regulations concerning zones entry into which is prohibited or regulated for reasons of national security, the receiving State shall ensure freedom of movement and travel in its territory to all members of the consular post.
See also: Article 33 Vienna Convention on Consular Relations