(1)Where, by virtue or in consequence of any settlement to which this section applies, the settlor pays directly or indirectly in any year of assessment to the trustees of the settlement any sums which would, but for this subsection, be allowable as deductions in computing his total income for that year, those sums shall not be so allowable to the extent to which the aggregate amount thereof falls within the amount of income arising under the settlement in that year which has not been distributed, less—
(a)so much of any income arising under the settlement in that year which has not been distributed as is shown to consist of income which has been treated as the income of the settlor by virtue of section 671, 672 or 674, and
(b)the amount of income so arising in that year which is treated as the income of the settlor by virtue of section 673.
(2)For the purposes of subsection (1) above, any sum paid in any year of assessment by the settlor to any body corporate connected with the settlement in that year shall be treated as if it had been paid to the trustees of the settlement in that year by virtue or in consequence of the settlement.
(3)No relief shall be given under any of the provisions of the Income Tax Acts on account of tax paid in respect of so much of any income arising under a settlement in any year of assessment as is equal to the aggregate amount of any sums paid by the settlor in that year which are not allowable as deductions by virtue of this section.
(4)This section shall apply to any settlement (wherever made) made after 26th April 1938, and where income arising under any settlement (wherever made) made on or before that date is treated as the income of the settlor by virtue of section 671 or 672 but ceases to be so treated by reason of any variation of the terms of the settlement made after that date, or would have been so treated but for such a variation, this section shall apply to that settlement as from the date when the variation takes effect.
(5)In this section, references to sums paid by a settlor include references to sums paid by the wife or husband of the settlor.