applicable wash sales transaction

(5) Treatment of certain wash sale transactions (A) In general If an interest in a domestically controlled qualified investment entity is disposed of in an applicable wash sale transaction, the taxpayer shall, for purposes of this section, be treated as having gain from the sale or exchange of a United States real property interest in an amount equal to the portion of the distribution described in subparagraph (B) with respect to such interest which, but for the disposition, would have been treated by the taxpayer as gain from the sale or exchange of a United States real property interest under paragraph (1). (B) Applicable wash sales transaction For purposes of this paragraph— (i) In general The term “applicable wash sales transaction” means any transaction (or series of transactions) under which a nonresident alien individual, foreign corporation, or qualified investment entity— (I) disposes of an interest in a domestically controlled qualified investment entity during the 30-day period preceding the ex-dividend date of a distribution which is to be made with respect to the interest and any portion of which, but for the disposition, would have been treated by the taxpayer as gain from the sale or exchange of a United States real property interest under paragraph (1), and (II) acquires, or enters into a contract or option to acquire, a substantially identical interest in such entity during the 61-day period beginning with the 1st day of the 30-day period described in subclause (I). For purposes of subclause (II), a nonresident alien individual, foreign corporation, or qualified investment entity shall be treated as having acquired any interest acquired by a person related (within the meaning of section 267(b) or 707(b)(1) ) to the individual, corporation, or entity, and any interest which such person has entered into any contract or option to acquire. (ii) Application to substitute dividend and similar payments Subparagraph (A) shall apply to— (I) any substitute dividend payment (within the meaning of section 861 ), or (II) any other similar payment specified in regulations which the Secretary determines necessary to prevent avoidance of the purposes of this paragraph. The portion of any such payment treated by the taxpayer as gain from the sale or exchange of a United States real property interest under subparagraph (A) by reason of this clause shall be equal to the portion of the distribution such payment is in lieu of which would have been so treated but for the transaction giving rise to such payment. (iii) Exception where distribution actually received A transaction shall not be treated as an applicable wash sales transaction if the nonresident alien individual, foreign corporation, or qualified investment entity receives the distribution described in clause (i)(I) with respect to either the interest which was disposed of, or acquired, in the transaction. (iv) Exception for certain publicly traded stock A transaction shall not be treated as an applicable wash sales transaction if it involves the disposition of any class of stock in a qualified investment entity which is regularly traded on an established securities market within the United States but only if the nonresident alien individual, foreign corporation, or qualified investment entity did not own more than 5 percent of such class of stock at any time during the 1-year period ending on the date of the distribution described in clause (i)(I).

Source

26 USC § 897(h)(5)


Scoping language

for purposes of this section
Is this correct? or