Special rules on carrybacks
A net capital loss of a corporation shall not be carried back under paragraph (1)(A) to a taxable year—
(A) for which it is a regulated investment company (as defined in section 851), or
(B) for which it is a real estate investment trust (as defined in section 856).