In the case of any foreign income tax not taken into account by reason of subsection (a) or (b), except as otherwise provided by the Secretary, such tax shall be so taken into account in the taxable year referred to in such subsection (other than for purposes of section
986
(a)) as a foreign income tax paid or accrued in such taxable year.