system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: The Limitations of Diplomatic Immunity

As the title says, what are they? Do diplomats get full immunity from all transgression within a host country or is that only when performing official duties? According to the Vienna Convention on Diplomatic Relations of 1961 Article 31.1c diplomatic immunity doesn't apply to activity outside of a diplomat's official functions, but is that the current case. Do diplomats have carte blanche within a host country just by being diplomats?
gpt
It's worth noting that even if a diplomat / embassy claims immunity, the host nation is not required to take it on the proverbial chin.  They can declare the diplomat unwelcome (persona non grata) and expel the diplomat from the country if the host nation so chooses.  Similarly, the diplomat's home nation can recall said diplomat (or prosecute the diplomat themselves) to avoid or curtail an international embarrassment.  There are certainly scenarios where diplomatic relations have become strained because diplomats do really stupid / criminal things.

In short, diplomatic immunity is not an absolute blanket to do whatever you want and get away with it.