Extraterritoriality is the state of being exempt from the jurisdiction of local law, usually as the result of diplomatic negotiations. Extraterritoriality can also be applied to physical places, such as embassies, consulates, or military bases of foreign countries, or offices of the United Nations. These places are the sovereign territories of the home country, and although they are not subject to local law, local law enforcement agencies do have the duties of protecting them from outside disturbances and can in some cases arrest a person there for crimes committed on the host states' soil.