Subsection (2) below shall apply where a disposal of an asset is made otherwise than under a bargain at arm's length—
and the disposal is not one in relation to which section 151A(1) has effect.
Sections 17(1) and 258(3) shall not apply; but if the disposal is by way of gift (including a gift in settlement) or for a consideration not exceeding the sums allowable as a deduction under section 38, then—
Subsection (2B) applies if relief is available under Chapter 3 of Part 8 of ITA 2007 or as a result of Chapter 3 of Part 6 of CTA 2010 (gifts of shares, securities and real property to charities) in relation to the disposal of a qualifying investment to a charity (whether or not a claim for relief is actually made).
The consideration for which the charity's acquisition of the qualifying investment is treated by virtue of subsection (2) above as having been made—
In subsections (2A) and (2B)—
"qualifying investment" has the same meaning as in Chapter 3 of Part 8 of ITA 2007 (see section 432 of that Act),
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where—
then, if no consideration is received by any person for or in connection with any transaction by virtue of which the charity, registered club or other body becomes so entitled, the disposal and reacquisition of the assets to which the charity, registered club or other body becomes so entitled shall, notwithstanding section 71, be treated for the purposes of this Act as made for such consideration as to secure that neither a gain nor a loss accrues on the disposal.
In subsection (2)(b) above the first reference to a disposal includes a disposal to which section 146(2) of the 1979 Act applied where the person who acquired the asset on that disposal disposes of the asset after the coming into force of this section.
For the purposes of this section "registered club" has the same meaning as in Chapter 9 of Part 13 of CTA 2010.