A mortgage guaranty insurance company shall not invest in notes or other evidences of indebtedness secured by mortgage or other lien upon real property. This section shall not apply to obligations secured by real property, which obligations or contracts of sale are acquired in the course of the good faith settlement of claims under policies of insurance issued by the mortgage guaranty insurance company, or in the good faith disposition of real property so acquired.
K.S.A. 40-3507