Except for subdivision (j) of Section 366.26, the procedures for permanently terminating parental rights for minors described by this section shall proceed exclusively pursuant to Section 366.26.
At the beginning of any proceeding pursuant to this section, if the minor is not being represented by previously retained or appointed counsel, the court shall appoint counsel to represent the minor, and the minor shall be present in court unless the minor or the minor's counsel so requests and the court so orders. If a parent appears without counsel and is unable to afford counsel, the court shall appoint counsel for the parent, unless this representation is knowingly and intelligently waived. The same counsel shall not be appointed to represent both the minor and the parent. Private counsel appointed under this section shall receive a reasonable sum for compensation and expenses as specified in subdivision (f) of paragraph (3) of Section 366.26.
Ca. Welf. and Inst. Code § 727.31