rata share referred to in section 951(a)(1) shall be determined under paragraph (5) of this subsection. (2) Related person insurance income For purposes of this subsection, the term related person insurance income means any insurance income (within the meaning of section 955(a)) attributable to a policy of insurance or reinsurance with respect to which the person (directly or indirectly) insured is a United States shareholder in the foreign corporation or a related person to such a shareholder. (3) Exceptions (A) Corporations not held by insured Paragraph (1) shall not apply to any foreign corporation if at all times during the taxable year of such foreign corporation— (i) less than 20 percent of the total combined voting power of all classes of stock of such corporation entitled to vote, and (ii) less than 20 percent of the total value of such corporation, is owned (directly or indirectly under the principles of section 883(c)(4)) by persons who are (directly or indirectly) insured under any policy of insurance or reinsurance issued by such corporation or who are related persons to any such person. (B) De minimis exception Paragraph (1) shall not apply to any foreign corporation for a taxable year of such corporation if the related person insurance income (determined on a gross basis) of such corporation for such taxable year is less than 20 percent of its insurance income (as so determined) for such taxable year. (C) Election to treat income as effectively connected Paragraph (1) shall not apply to any foreign corporation for any taxable year if— (i) such corporation elects (at such time and in such manner as the Secretary may prescribe)— (I) to treat its related person insurance income for such taxable year as income effectively connected with the conduct of a trade or business in the United States, and (II) to waive all benefits (other than with respect to section 884) with respect to related person insurance income granted by the United States under any treaty between the United States and any foreign