In Re Ketchel

*398TOBRINER, J.

After defendant’s conviction of murder in the first degree and sentence to death, this court appointed counsel on the automatic appeal (Pen. Code, § 1239, subd. (b)). We now face a narrow issue: whether we should affirm the trial court’s order to the warden of the penitentiary to permit the examination of defendant by a psychiatrist selected by that counsel. Since we hold that counsel is entitled to full communication with his client by direct interview or by interviews through experts who may aid counsel, and since we cannot see how the interview would interfere with the safe maintenance of the penitentiary, we affirm the order.

As we shall explain, the courts clearly hold that the right to counsel at trial includes the right to the assistance of experts, such as psychiatrists or psychologists.1 Although the Attorney General correctly argues that normally such assistance differs at the appellate from the trial stage because the completed record precludes the introduction of further testimony, that factor alone should not negate defendant’s right of unfettered communication with his counsel and those who aid counsel. As we shall show, the Attorney General offers no reason grounded in prison safety or administration for refusal of the opportunity of such communication, and the trial court found none.

Upon concluding that a psychiatric examination of his client would be useful, defendant’s counsel, on June 2, 1967, wrote the warden at San Quentin as follows: “My investigation of the case and of the record on appeal has brought me to the conclusion that it is necessary, in order adequately to represent the defendant on appeal and to prepare this brief on his behalf, to cause Mr. Ketchel to be examined by a psychiatrist, and equally by a psychologist, should the psychiatrist deem the further examination necessary. I require the reports of these physicians in order properly to represent Mr. Ketchel on appeal. Dr. Fariborz Amini, a distinguished psychiatrist on the staff of Langley Porter Clinic of the University of California Hospital, has consented to make the necessary examination and report. I respectfully request that Dr. Amini be permitted to visit and examine Mr. Ketchel and that necessary arrangements for his visit there [at San Quentin] be made.

On June 5, 1967, the warden replied that it was not “the *399policy of the Department of Corrections ... to permit examinations of condemned men by staff other than specified in [the Penal Code] . . . .” Ketchel then brought this writ of habeas corpus in the Superior Court of Marin County,2 requesting that the warden be compelled to allow the examination.

After a hearing on Ketchel’s habeas corpus petition, the superior court ordered the warden “to permit counsel for petitioner herein to have petitioner examined by Dr. Fariborz Amini, and by a psychologist if such examination is considered necessary by said Dr. Fariborz Amini. It is further ordered that said examinations shall be conducted at the California State Prison, San Quentin, California, at a reasonable time, or times selected by counsel for the petitioner.” The People appealed from this order and, pursuant to article VI, section 11, of the California Constitution and Penal Code, section 1506, obtained a transfer of the appeal to this court.

The cases have held that the right to an effective counsel at trial includes not only the personal advice and service of counsel but also the aid and advice of experts whom counsel deems useful to the defense and, in particular, the services of a psychiatrist. (In re Ochse, supra, 38 Cal.2d 230.) “A fundamental part of the constitutional right of an accused to be represented by counsel is that his attorney must be afforded reasonable opportunity to prepare for trial. ... To make *400such, right effective, counsel is obviously entitled to the aid of such expert assistance as he may need ... in preparing the defense.” (Id. at p. 231.)

Our ruling in Cornell v. Superior Court (1959) 52 Cal.2d 99 [338 P.2d 447], also supports defendant’s position. When an attorney there sought to compel the prison authorities to allow examination of his client by a hypnotist, the prosecution resisted on the basis that the hypnotist’s testimony would be inadmissible at trial. Rejecting this argument, this court said that ‘ ‘ [a] dmissibility of any evidence that may be secured during such an examination is not the question here presented. . . . Whether the evidence so secured would or would not be admissible is a false factor. Obviously, it is reasonably possible that evidence so secured, whether or not it is admissible, may put Cornell in possession of facts which, when followed up, would result in the discovery of admissible evidence. ...” (Id. at p. 102.) Similarly, in the instant ease the results of the psychiatric examination, even if not of direct use or “admissible” on appeal, may well assist counsel’s overall strategy on both appeal and collateral remedies.

Moreover, the right to counsel on appeal clearly includes counsel’s right to communicate personally with his client in order to develop and execute an overall strategy on appeal. We said in In re Allison: “In In re Chessman (1955) 44 Cal.2d 1, 9 [279 P.2d 24], we reaffirmed the rule that ‘a prisoner is entitled to, and habeas corpus is available to enforce . . . [his] right, at reasonable times, to consult privately with his counsel in preparation for trial (In re Rider (1920) 50 Cal.App. 797, 799 [195 P. 965] ; In re Snyder (1923) 62 Cal.App. 697, 699 [217 P. 777] ; In re Qualls (1943) 58 Cal.App.2d 330, 331 [136 P.2d 341]).’ (Italics added.) The right to consult includes the right, at reasonable times, to communicate with counsel by mail and, when necessary in the circumstances, by telegram. These rights attach not only while preparing for trial, but also during the pendency of an appeal.” (In re Allison, supra, 66 Cal.2d 282, 286.) Since Oehse establishes defendant’s right to assistance of experts chosen by counsel and Allison sanctions defendant’s right to communicate with counsel at the appellate stage, defendant must surely enjoy the right to communicate at that time with the expert chosen by counsel. Obviously counsel for an appealing defendant who is at large on bail may communicate with him, and, if counsel thinks it advisable, arrange for a psychiatric examination; counsel for the *401defendant incarcerated for a capital offense should not be denied the correlative opportunity to discharge his heavy burden of representation by arranging for such examination if he deems it necessary.

The Attorney General attempts to distinguish the cited cases by pointing out that, although the assistance of a psychiatrist can be useful in preparation for trial it could serve no purpose on appeal because the scope of inquiry on appeal is limited to the record. Since a psychiatric examination of Ketchel after the trial would not be part of the record, the Attorney General contends that it should not be permitted.

Indeed, an appellate court must restrict its review to that which appears on the trial record (People v. Reeves (1966) 64 Cal.2d 766, 776 [51 Cal.Rptr. 691, 415 P.2d 35] ; People v. Arguello (1964) 61 Cal.2d 210, 213 [37 Cal.Rptr. 601, 390 P.2d 377]) but such limitation does not negate the value of a psychiatric examination. It might be valuable to counsel in many situations. Counsel might desire to urge changes in the law of the penalty trial, but only to the extent that defendant would benefit thereby; the psychiatric examination, .of course, would be useful in determining whether defendant could so benefit. Another possibility lies in the aid the psychiatric report might render counsel in determining whether defendant had been adequately represented by trial counsel in the face of his failure to raise a valid defense, such as that of diminished capacity (People v. Wells (1949) 33 Cal.2d 330 [202 P.2d 53] ; People v. Gorshen (1959) 51 Cal.2d 716 [336 P.2d 492]).3 The assistance of the informed psychiatrist could lead to the possible bases for collateral attach.4 It *402certainly could assist counsel in the development of overall strategy. The right to such aid should hardly be conditioned upon a showing of its precise application or utility.5

Eecognizing the potential general usefulness of the psychiatric examination of defendant, we find no countervailing factors to support a refusal of the application. Both the trial court and petitioner’s counsel repeatedly stated during the hearing that the examination would take place only “in conformity with prison regulations.” The Attorney General does not suggest that the examination will in any way interfere with prison safety or administration. The superior court has examined this very issue and found that the requested examination will not adversely affect the penal institution. If an examination of the defendant by his counsel does not endanger the safe administration of the facility, and surely this is not open to question, we do not see how an examination by a psychiatrist can do so. The fear of the Attorney General that the affirmation of the instant order might open the floodgates to harassment by groundless applications overlooks the issuing court’s responsibility to grant such a request only if it were made in good faith and if it were to be executed under proper conditions.

Our disposition of this matter is certainly consistent with, if not compelled by, the recent case of Anders v. California (1967) 386 U.S. 738 [18 L.Ed.2d 493, 87 S.Ct. 1396], The full representation and advocacy there required by the United States Supreme Court is hardly compatible with the penitentiary’s prevention of the consultation of the psychiatrist with defendant for the purpose of advising and aiding the attorney. We promote the underlying purpose of Anders in permitting counsel broad discretion in deciding how to investigate and develop all potentially available arguments. The *403principle applies with special force in a case involving the penalty of death.

The order is affirmed.

Traynor, C. J., Peters, J., Sullivan, J., and Peek, J.,* concurred.

In using the term “psychiatrist” in this opinion we include the term “psychologist.”

Although the courts have uniformly held that a petition for habeas corpus in a superior court constitutes a proper method for establishing that prison officials have interfered with a prisoner’s right to effective assistance of counsel (In re Ochse (1951) 38 Cal.2d 230 [238 P.2d 561] ; In re Allison (1967) 66 Cal.2d 282 [57 Cal.Rptr. 593, 425 P.2d 193]), the Attorney General contends that the Superior Court of Marin County lacked jurisdiction to consider Ketchel’s petition. In particular, the Attorney General argues that, because defendant’s automatic appeal (Pen. Code, § 1239, subd. (b) ) is pending before this court and because the present habeas corpus petition is ‘ inextricably connected with that appeal, Ketchel must initially bring his petition to this court.

This procedural issue is academic because both parties apparently agree that the ease is now properly before this court. In any event, we cannot accept the Attorney General’s contention. Although the desirability of eliminating any friction between courts has led to the establishment of the rule that habeas corpus cannot be used to correct errors which may be resolved upon a pending appeal (France v. Superior Court (1927) 201 Cal. 122 [255 P. 815, 52 A.L.R. 869] ; In re Burns (1947) 78 Cal. App.2d 294 [177 P.2d 649]), the superior court’s order here does not in any way interfere with, nor is it “ inxertieably connected ’ ’ with, this court’s disposition of the subject matter of the appeal. Indeed, the superior court is in a better position than this court initially to pass upon the propriety of an order for a psychiatric examination and to prevent any abuse of its execution if such a contingency should arise.

The Attorney General attempts to resist this result by contending that issues such as incompeteney of trial counsel are not ‘ ‘ in issue ’ ’ on appeal because “there has been no allegation . . . that trial counsel’s decision was the product of ineptitude.” This argument, however, completely misses the crucial point that counsel desires a psychiatric examination of defendant to determine whether or not an issue should be raised. It would certainly be anomalous to require counsel to present an issue before this court in the absence of his opportunity, by methods including expert examination of his client, to decide whether it rests upon any basis in fact.

People v. Welch (1964) 61 Cal. 2d 786 [40 Cal.Rptr. 238, 394 P.2d 926], affords an illustration of the use of a psychiatric record and interview of a defendant in the prison which defendant presented as a ground for the issuance of a writ of error coram vobis. Our opinion states: ‘ On December 3, 1963, Dr. Bramwell reviewed defendant’s psychiatric record at San Quentin and interviewed defendant. On January 28, 1964, the present petition for the writ of error coram voMs was filed in this court with the above described document,” (P. 793.)

MereIy by way of analogy we point to the approach of the courts to the procurement of information through the use of discovery procedures. We note initially that discovery procedures are directed to the adverse party and that, here, counsel seeks access only to his own client for the examination. But even in discovery matters courts have been loath to predetermine the usefulness of the discoverable material. 11 Since the production of at least some of the statements withheld was a right of the defense, it is not for us to speculate whether they could have been utilized effectively.” (Clancy v. United States (1961) 365 U.S. 312, 316 [5 L.Ed. 2d 574, 577, 81 S.Ct. 645] ; see also Rosenberg v. United States (1959) 360 U.S. 367, 371 [3 L.Ed.2d 1304, 1307, 79 S.Ct. 1231].) By the same token, this court should not attempt to prejudge the usefulness to counsel of a psychiatric examination.

Retired Associate Justice of the Supreme Court sitting under assignment by the Chairman of the Judicial Council.