When the proceeds of the sale belonging to persons who are parties to the action, whether known or unknown, have not been allocated among such parties, the action may be continued as between such parties, for the determination of their respective claims thereto, which must be ascertained and adjudged by the court. Further testimony may be taken in court, or by a referee, at the discretion of the court, and the court may, if necessary, require such parties to present the facts or law in controversy, by pleadings, as in an original action.
Ca. Civ. Proc. Code § 873.850