The provisions of Sections 170 and 170.6 of the Code of Civil Procedure shall apply to a referee, provided, that the presiding judge of the juvenile court shall if the motion is granted reassign the matter to another referee or to a judge of the juvenile court.
Ca. Welf. and Inst. Code § 247.5