When an aircraft is overflying the territory of another state, it should...
ICAO Annex 2
CHAPTER 2. APPLICABILITY OF THE RULES OF THE AIR
2.1 Territorial application ofthe rules of the air
2.1.1 The rules of the air shall apply to aircraft bearing the nationality and registration marks of a Contracting State, wherever they may be, to the extent that they do not conflict with the rules published by the State having jurisdiction over the territory overflown.
The rules of air of the State having jurisdiction over the territory overflown by the aircraft have priority over any other rules.
Your Notes (not visible to others)
This question has appeared on the real examination, you can find the related countries below.