6(1)For the purposes of paragraph 5, an amount cannot be given qualifying relief for the current period or any previous period if conditions A and B are met.
(2)Condition A is that, for the purposes of any tax under the EEA territory concerned or under any relevant territory, the amount cannot be taken into account in calculating any profits, income or gains which—
(a)arise to the company or any other person in the current period or any previous period, and
(b)are chargeable to that tax for the current period or any previous period.
(3)Condition B is that, for the purposes of any tax under the EEA territory concerned or under any relevant territory, the amount cannot be relieved in the current period or any previous period—
(a)by the payment of a credit,
(b)by the elimination or reduction of a tax liability, or
(c)by any other means of any kind.
(4)An amount is to be regarded for the purposes of this paragraph as meeting conditions A and B if (but only if) every step to secure that the amount is so taken into account or relieved is taken (whether by the company or any other person).
(5)In this paragraph “relevant territory” means—
(a)if the company is resident in any EEA territory and is also resident in any other territory outside the United Kingdom, that other territory,
(b)if the company is not resident in any EEA territory but carries on a trade in an EEA territory through a permanent establishment, the territory (or territories) in which it is resident.