then for purposes of subdivision (a) of Section 24345 the corporation shall be treated as having paid, on the date of the sale, so much of the tax as, under subdivision (a), is treated as imposed on the corporation. For purposes of the preceding sentence, if neither party is liable for the tax, then the party holding the property at the time the tax becomes a lien on the property shall be considered liable for the real property tax for the real property tax year.
Ca. Rev. and Tax. Code § 24346