Notwithstanding any provision of the Tax Acts or Capital Gains Tax Acts, in computing the amount of profit or gains to be charged to income tax, corporation tax or capital gains tax, no sum shall be deducted in respect of any amount of vacant homes tax.