"diplomatic immunity" means that diplomats, who represent their country in other nations, are protected from prosecution or punishment for any crimes they may commit in that foreign country. The idea behind it is to allow diplomats to do their job effectively without fear of legal consequences.
Full definition