All actions pending in the superior court of an affected county for the recovery of the possession of, quieting the title to, or for the enforcement of liens upon, real estate lying in the proposed county shall on motion of any party thereto be transferred to the superior court of the proposed county and deemed originally brought in the superior court of the proposed county. Any other action or special proceeding pending in the superior court of an affected county which might have been commenced in the proposed county if the proposed county had been in existence at the date of commencement, may in the discretion of the court in which it is pending and on motion of any party interested therein be transferred to the superior court of the proposed county.
Ca. Gov. Code § 23382