Cal. Civ. Proc. Code § 872.620
To the extent necessary to grant the relief sought or other appropriate relief, the court shall upon adequate proof ascertain the state of the title to the property.