Glasgow has been chosen as the venue for the 26th Conference of the Parties (COP26), which will bring heads of state from around the world to discuss global action on climate change.
This will see the Scottish Events Campus, in the city’s Finnieston area, handed over to the United Nations (UN) for the duration of the event.
Local laws will not apply within the boundaries of the conference site, which will be known as the Blue Zone.
Instead international protocols will be in force, meaning anyone committing an offence within the zone cannot be prosecuted in the Scottish or UK courts.
COP26 has been described as the most important global gathering on climate change since the Paris agreement was signed in 2015.
Environmentalists have said the event will allow the UK to help set the tone for the planet's future.
The two-week event will be the largest summit the nation has ever hosted, with up to 200 world leaders expected for the final weekend of talks and around 30,000 delegates in total.
As many as 15,000 people could attend on the busiest days, including spectators, media and protesters, with up to 90,000 individuals anticipated over the course of the conference.
Under legal implications, it states: “The Conference centre is handed over to the United Nations (UN) on Friday 06 November until the end of the conference.
“During that time the UN retain control of the site (known as the Blue Zone), which will become international territory and fall under international law.
“Discussions are ongoing with senior law officers and the UN to determine how Police Scotland will record and investigate any crimes which occur within the Blue Zone.”
The legal concept applying to the UN is known as extraterritoriality, which can cover a person or physical area and exempts them from local law.
Extraterritoriality applies to the UN generally, and is the same principle that covers foreign diplomats working in the UK.
Natasha Durkin, a senior associate in the public law and regulation team at Shepherd and Wedderburn, said: “For the duration of COP26 Scots law will not apply to buildings and land occupied by the United Nations.
“In Glasgow the Blue Zone will become an international territory subject to international law, in the same way that the UN headquarters in New York and its offices in Geneva and Vienna are not subject to domestic law.
“The UN will have administrative control of the Scottish Events Campus and will be responsible for security during COP26.
"While its security team will be supported by Police Scotland, the UN will remain in charge of all security in the Blue Zone.
"Police Scotland may only enter this zone with the consent of, and under the conditions agreed to by, the UN secretary general."
As part of the arrangements, the UN agrees not to harbour fugitives.
A Police Scotland spokeswoman said: “We have engaged with the United Nations and this is common practice for UN Conferences.
“In consultation with others, we will continue to develop a policing plan taking into account all factors to ensure an appropriate response can be delivered.”
It’s likely the Glasgow summit will attract many protesters, as has been the case at previous Cop meetings in other countries.
Activists from the climate campaign group Extinction Rebellion Scotland have confirmed they will have a presence at the event but have not yet finalised their action plan.
Since the organisation is in complete control of the Blue Zone, it means “conference participants can say what they want to say, including being critical of their governments”.