(B) Alleged indebtedness. This paragraph (a) does not apply to so much of an alleged indebtedness which is not in fact a bona fide indebtedness, even if the stated rate of interest thereon would be within the safe haven rates prescribed in paragraph (a)(2)(iii) of this section. For example, paragraph (a) of this section does not apply to payments with respect to all or a portion of such alleged indebtedness where in fact all or a portion of an alleged indebtedness is a contribution to the capital of a corporation or a distribution by a corporation with respect to its shares. Similarly, this paragraph (a) does not apply to payments with respect to an alleged purchase-money debt instrument given in consideration for an alleged sale of property between two controlled entities where in fact the transaction constitutes a lease of the property. Payments made with respect to alleged indebtedness (including alleged stated interest thereon) shall be treated according to their substance. See 1.482-2(a)(3)(i).