Answer:
Diplomatic immunity is a form of legal immunity that ensures diplomats are given safe passage and are considered not susceptible to lawsuit or prosecution under the host country's laws, although they may still be expelled. Modern diplomatic immunity was codified as international law in the Vienna Convention on Diplomatic Relations (1961) which has been ratified by all but a handful of nations. The concept and custom of diplomatic immunity dates back thousands of years. Many principles of diplomatic immunity are now considered to be customary law. Diplomatic immunity was developed to allow for the maintenance of government relations, including during periods of difficulties and armed conflict. When receiving diplomats, who formally represent the sovereign, the receiving head of state grants certain privileges and immunities to ensure they may effectively carry out their duties, on the understanding that these are provided on a reciprocal basis.
Step-by-step explanation: