Consular officials (that do not have concurrent diplomatic accreditation) formally have a more limited form of immunity, generally limited to their official duties. Diplomatic technical and administrative staff also have more limited immunity under the Vienna Convention; for this reason, some countries may accredit a member of technical or administrative staff as an
attaché.
Other categories of government officials that may travel frequently to other countries may not have diplomatic passports or diplomatic immunity, such as members of the military, high-ranking government officials, ministers, and others.[citation needed] Many countries provide non-diplomatic official passports to such personnel, and there may be different classes of such travel documents such as official passports, service passports, and others. De facto recognition of some form of immunity may be conveyed by states accepting officials traveling on such documents, or there may exist bilateral agreements to govern such cases (as in, for example, the case of military personnel conducting or observing exercises on the territory of the receiving country).
Formally, diplomatic immunity may be limited to officials accredited to a host country, or traveling to or from their host country. In practice, many countries may effectively recognize diplomatic immunity for those traveling on diplomatic passports, with admittance to the country constituting acceptance of the diplomatic status. However, this is not universal, and diplomats have been prosecuted and jailed for crimes committed outside the country they are accredited to.