(d)an erstwhile public sector company with one or more company or companies, if the share purchase agreement entered into under strategic disinvestment restricted immediate amalgamation of the said public sector company and the amalgamation is carried out within five years from the end of the tax year in which the restriction on amalgamation in the share purchase agreement ends, then, irrespective of anything contained in any other provision of this Act, the accumulated loss and unabsorbed depreciation of the amalgamating company shall be deemed to be the loss or, allowance for unabsorbed depreciation of the amalgamated company for the tax year in which the amalgamation was effected, and other provisions of this Act relating to set off and carry forward of loss and allowance for depreciation shall apply accordingly.