If the court determines that none of the defendants have any right, title, interest, lien or estate in the property, it shall render its final decree quieting the plaintiff's title. If the court determines that any of the defendants have any right, title, interest, lien or estate in the property, it shall render its decree establishing these rights and may order the sale of the property or partition thereof. The decree shall direct the public officer having the record of the assessment, bond or certificate of sale to cancel the record thereof.
Ca. Civ. Proc. Code § 801.12