In a juvenile court hearing, where the parent or guardian is represented by counsel, the county counsel or district attorney shall, at the request of the juvenile court judge, appear and participate in the hearing to represent the petitioner.
Ca. Welf. and Inst. Code § 318.5