The provisions of this section shall not apply to any costs, fees, and other expenses in connection with any proceeding to which section 7430 of the Internal Revenue Code of 1986 applies (determined without regard to subsections (b) and (f) of such section).