TL;DR
If a company has dual tax residence, you determine its residence by identifying the State where its place of effective management is located. This is normally the place where the most senior managers make the strategic decisions necessary to conduct the business; this determination is a question of fact.
The residence rule provided for by the treaty
The tax treaty applies to individuals and legal entities resident in either or both of the two States.1
Where a person other than an individual is resident in both States under the criteria set out, that person is considered resident in the State where its place of effective management is located. In the case of dual residence of a legal entity, the place of effective management is the only criterion to be taken into account.1,2,3,4
How to locate the place of effective management
To determine the place of effective management of a legal entity, you must identify the place where strategic decisions concerning management and industrial or commercial policy, necessary to conduct the enterprise’s business, are made.2,3
The place of effective management of a legal entity is normally the place where the highest-ranking person or group of persons, such as the board of directors, makes its decisions.2,3
Determining the place of effective management of a legal entity is a question of fact. An enterprise may have several places of management, but can have only one place of effective management.2,3
A special rule for international navigation
By way of derogation from the rule taxing profits where the permanent establishment is located, the industrial and commercial profits of maritime or air transport enterprises arising from the operation of ships or aircraft in international traffic are taxable only in the State where the enterprise’s place of effective management is located.4