What is the state of being free from the jurisdiction of a country when within its territorial limits called?

exterritoriality — The state of being free from the jurisdiction of a country when within its territorial limits. (Webster's 1913.)

Sources