Diplomatic immunity is a special law that covers people who work in embassies or consulates. The people are called diplomats. The diplomatic immunity means that although they live and work as a visitor inside a "host country", they are not ruled by the law of that country. They are only ruled by the law of their home country.