extraterritoriality

noun

Freedom from the laws of the country one is in, as enjoyed by diplomats.