In any case under chapter 7 or 11 of title
11 of the United States Code to which section
1398 applies, for purposes of paragraphs (1) and (5) of subsection (b) the estate (and not the individual) shall be treated as the taxpayer. The preceding sentence shall not apply for purposes of applying section
1017 to property transferred by the estate to the individual.