Article 7 Vienna Convention on Diplomatic Relations
Subject to the provisions of articles 5, 8, 9 and 11, the sending State may freely appoint the members of the staff of the mission. In the case of military, naval or air attachés, the receiving State may require their names to be submitted beforehand, for its approval.
See also: Article 6 Vienna Convention on Diplomatic Relations