This section applies if—
Where this section applies—
If, as a result of an exchange in relation to which this section applies, a gain accruing to a person holding shares in or debentures of company A on the exchange would, but for the Mergers Directive, have been chargeable to tax under the law of a member State ..., Part 2 of TIOPA 2010 (double taxation relief), including any double taxation relief arrangements, shall apply as if that tax, calculated in accordance with subsection (4), had been chargeable.
Tax is calculated in accordance with this subsection if—