 While officially posted to an embassy or delegation in a foreign country or accredited to an international organization, both career diplomats and political appointees enjoy the same diplomatic immunities, as well as United Nations officials.Ceremonial heads of state commonly act as diplomats on behalf of their nation, usually following instructions from their head of Government.Whether being a career diplomat or a political appointee, every diplomat, while posted abroad, will be classified in one of the ranks of diplomats (secretary, counselor, minister, ambassador, envoy, or "chargé d'affaires") as regulated by international law (namely, by the Vienna Convention on Diplomatic Relations of 1961).