Opinion
Petitioner Randall Charlton was convicted of first degree murder in 1974. Thereafter Charlton petitioned for a writ of habeas corpus, contending that his trial counsel was incompetent. In November 1978, the California Supreme Court issued an order to show cause, returnable before the San Francisco County Superior Court to inquire into the validity of petitioner’s contention. At the hearing to set the order to show cause for hearing and to appoint counsel, Michael Korn, the attorney who had filed the habeas corpus petition, advised the court that petitioner was indigent and that he, Korn, was willing to represent petitioner by appointment by the court in view of petitioner’s desire to have continuity of representation. After determining that the public defender had not appeared in the case or otherwise disqualified himself, the court stated that it was limited to the appointment of the public defender. The public defender was in fact appointed. Charlton petitioned this court, requesting that we mandate the superior court to appoint private counsel Korn. We denied the petition without comment. The Supreme Court without comment directed that we issue the alternative writ.
*861
Initially, petitioner contends that the Supreme Court’s granting of a hearing and retransferring the matter to this court for issuance of an alternative writ conclusively establishes that the respondent court had jurisdiction to appoint petitioner’s current counsel to represent him in the habeas corpus proceedings. In
Atlantic Richfield Co.
v.
Superior Court
(1975)
We do not agree that the Supreme Court’s direction has the effect urged by petitioner. Had this court issued the alternative writ in the first instance, petitioner’s argument would necessarily fail. The Supreme Court’s direction that we issue the alternative writ, after our denial, is an expression on the part of the Supreme Court that we examine the contentions raised by petitioner and write an opinion evaluating those contentions. To accept petitioner’s rationale would obviate the necessity of any more than a pro forma opinion by this court, reducing our function to that of remanding the cause to the superior court with directions that it exercise discretion as to whether to appoint private counsel or the public defender. This the Supreme Court could have done, had it so intended, by the issuance of a peremptory writ, without directing this court to issue its alternative writ. In the cases cited in support of petitioner’s contention, the Supreme Court’s direction to issue the alternative writ did not have the effect of disposing of the issue raised by the petitioner, as would be the case here if we accepted petitioner’s rationale. We decline to follow the holding of
Atlantic Richfield
where to do so decides the cause. We note that the
Atlantic Richfield
court has itself departed from its broad ruling, concluding in
Krueger
v.
Superior Court
(1979)
*862
Next, petitioner contends that the trial court was not obligated to appoint the public defender because the habeas corpus proceedings are “civil” in nature, not criminal, and therefore the Penal Code sections relating to the appointment of counsel for indigent defendants are not applicable. Petitioner then argues that the court has discretion to appoint private counsel of his choice under the principles established in
Harris
v.
Superior Court
(1977)
Although the statutory implementation of the indigent defendant’s right to appointed counsel is in sections addressing the subject in the context of a criminal trial, not habeas corpus proceedings (see Pen. Code, §§ 859, 987), it is clear that an indigent criminal defendant prosecuting a habeas corpus petition to the stage reached here is entitled to appointed counsel. (See
People
v.
Barton
(1978)
Our inclusion of the habeas corpus hearing within those proceedings in which an indigent criminal defendant is entitled to appointed counsel is supported by the recent opinion in
Polakovic
v.
Superior Court
(1972)
Now we turn to the issue of what counsel the court must appoint for indigent criminal defendants. Section 987.2 provides for the assignment of counsel in such proceedings in a “county in which there is no *863 public defender, or in a case in which the court finds that because of conflict of interest or other reasons the public defender has properly refused to represent the person accused,” in which event the court is authorized to compensate such assigned counsel. This section clearly limits the authority of the court to compensate assigned counsel to situations in which there is no public defender, or the public defender is unable because of a conflict of interest or other reasons to act.
Harris
v.
Superior Court
(1977)
Petitioner’s reliance on
Smith
v.
Superior Court
(1968)
We conclude that in habeas corpus proceedings in which an indigent petitioner is entitled to and desires appointed counsel, the court is required to appoint the public defender if there is one, provided the public defender does not have a conflict of interest or cannot represent the petitioner for other good cause.
The alternative writ of mandate is discharged. Petition for writ of mandamus and prohibition is denied.
Feinberg, J., and Halvonik, J., concurred.
Petitioner’s application for a hearing by the Supreme Court was denied August 1, 1979. Bird, C. J., was of the opinion that the application should be granted.
