If the State of Oregon acquires title to real property through foreclosure of mortgage held on the property by the state, or other means in settlement of existing indebtedness in favor of the state, upon which property taxes have become a lien prior to the acquisition, interest and penalties on the taxes hereby are canceled, but the lien or liens for the taxes shall remain on the property and be satisfied only by full payment of the principal amount thereof. Any lien for taxes attaching to any such real property prior to the execution of the deed to the state shall be a valid and subsisting lien thereon.
ORS 311.525