Opinion
Petitioner Foster confronts trial on a charge of indecent exposure (Pen. Code, § 314, subd. 1). The essence of the charge is that while in the employ of Santa Clara County and performing maintenance work in the vicinity of that court’s juvenile hall, he exposed himself to minors who were housed in the hall at the time. Two minors, Tanya and Arlene, are the alleged victims and sole complaining witnesses against defendant. At the preliminary hearing defense counsel sought to cross-examine Tanya regarding the length of and the reason for her detention in the hall, but the trial court sustained the People’s objection on relevancy grounds absent an offer of proof. Petitioner subsequently moved in superior court to dismiss the information (Pen. Code, § 995) because of the magistrate’s denial of opportunity to cross-examine Tanya, for appointment of a psychiatrist to examine the complaining witnesses
(Ballard
v.
Superior Court
(1966)
I. The Ballard Motion
In
Ballard
v.
Superior Court, supra,
In support of his contention that the trial court abused its discretion in denying his
Ballard
motion, petitioner contends that the fact that the two girls reside at juvenile hall itself suggests the presence of psychological instability, and that this suggestion is enforced by other facts: the opinion of a juvenile hall counselor (expressed in a declaration) that she suspected the two girls were playing a game or “setting up” the counselor to whom they reported the incident; and the fact that there was some inconsistency in the girls’ testimony, one of them admitting and the other denying that they had “flashed” the defendant at his request. Petitioner points to a statement in
People
v.
Lang
(1974)
We find petitioner’s arguments on this point unpersuasive. The suggestion that all juveniles housed in juvenile hall need psychological evaluation before their testimony may be admitted is clearly overbroad. The two prosecuting witnesses in
Lang
were nine-year-old twins. Using almost identical words, each told of unsuccessfully resisting separate but identical assaults by the defendant in the presence of from 6 to 12 persons, none of whom saw either assault. The prosecution offered no
*224
corroborating testimony, neither twin witnessed or even mentioned the other’s molestation, and no medical testimony was introduced to establish the possibility of such assault. (
II. The Section 995 Motion
Petitioner’s section 995 motion is based on the following exchange which occurred at the preliminary hearing when petitioner’s counsel began to examine Tanya: “[By Mr. Brown, counsel for petitioner] Q. Tanya, how long had you been in Juvenile Hall at the time this happened? Mr. Baldwin [deputy district attorney]: Objection, irrelevant. The Court: Mr. Brown, any relevance? Mr. Brown: Pardon me? The Court: Do you have anything to say to the matter of relevance? Mr. Brown: No, Your Honor. The Court: Sustained. Q. (By Mr. Brown): What were you there for? Mr. Baldwin: Objection, irrelevant. The Court: Any offer of proof on that? I would sustain it, otherwise. Mr. Brown: Well, I believe that with respect to the credibility of the witness, it’s not an inappropriate question. Mr. Baldwin: Well, Your Honor, I would— The Court: I’ll sustain the objection, ask that offer of proof that it would be relevant.”
Where it appears that during the course of a preliminary hearing examination the defendant has been denied a substantial right, the commitment is unlawful within the meaning of Penal Code section 995, and must be set aside upon timely motion.
(People
v.
Elliot
(1960)
While
Davis
v.
Alaska
may not confer “a right in every case to impeach the general credibility of a witness through cross-examination about his past delinquency adjudications or criminal convictions” (
On the basis of these authorities, petitioner had a right to probe for possible bias on the part of Tanya. Under all the circumstances, however, the magistrate’s refusal to allow the particular questions posed by counsel at the preliminary hearing did not require that the trial court grant petitioner’s motion for dismissal under section 995. This is so for two reasons.
First, it is by no means clear that the magistrate’s ruling constituted error. In
Davis
v.
Alaska,
upon which petitioner places principal reliance, defendant was precluded from bringing to the jury’s attention the
*226
fact that a juvenile witness for the prosecution was on probation; and this fact, the court reasoned, might be viewed by the jury as giving rise to an “inference of undue pressure because of [the witness’] vulnerable status as a probationer” (
In any event, if there was error it was not prejudicial to the validity of the magistrate’s holding order. Petitioner did not otherwise pursue an attack on Tanya’s credibility based upon her status as an offender, and he made no attempt to question Arlene along similar lines. Arlene, as previously mentioned, confirmed Tanya’s version of the events in most significant respects, and her testimony certainly provided adequate basis for the holding order. Under the circumstances, petitioner was not denied “substantial rights” as that term is used in Jennings v. Superior Court, supra, 66 Cal.2d at pages 879-880.
III. The Discovery Motion
Petitioner’s discovery motion, seeking to obtain “all investigation reports, Juvenile Probation reports, and records of Juvenile Court or Juvenile Probation Department proceedings relating to each of the two minor victims,” was initially brought in the superior court along with his motions for dismissal and appointment of a psychiatrist. Prior to hearing on those motions, petitioner made a request to the superior court as a juvenile court, pursuant to Welfare and Institutions Code section 827, to examine essentially the same records, all of which (petitioner alleged) “would more fully describe the reasons for their being housed in the Juvenile Hall facility and would fully describe the history of each of them in terms of antisocial conduct which has brought them under the jurisdiction of the juvenile authorities.” Petitioner asserted he needed the records “in order to make the requisite showing to the Supe *227 rior Court to justify the appointment of a psychiatrist, in order to determine whether or not any of the minors might be prone to fabrication or fantasy, in order to impeach their credibility as accusing witnesses at the time of trial, in order to explore potential reasons for bias, and in order generally to provide defendant Foster with a meaningful opportunity to confront and cross-examine these accusers in the same fashion as he might be able to deal with adult accusers....” The juvenile court, after independently reviewing the requested files in camera, denied petitioner’s request; and the superior court in the criminal proceeding denied petitioner’s discovery motion as well. The record does not reflect the reasons for the court’s action in either proceeding.
Criminal discovery is based on the “fundamental proposition that [an accused] is entitled to a fair trial and an intelligent defense in light of all relevant and reasonably accessible information.”
(Pitchess
v.
Superior Court
(1974)
On the other hand, there exists in this state a strong public policy protective of the confidentiality of juvenile court records and proceedings. As the Supreme Court observed in
T.N.G.
v.
Superior Court
(1971)
The Supreme Court in T.N.G. was concerned with the release of juvenile arrest and detention records or information to prospective employers or educational institutions, and consequently did not have oc *229 casion to consider whether or under what circumstances the principle of confidentiality established by the Juvenile Court Law might have to give way to the constitutional rights of an accused. That issue was confronted and resolved, however, by the United States Supreme Court in Davis v. Alaska, supra: “The claim is made that the State has an important interest in protecting the anonymity of juvenile offenders and that this interest outweighs any competing interest this petitioner might have in cross-examining Green about his being on probation.... [1Í] We do not and need not challenge the State’s interest as a matter of its own policy in the administration of criminal justice to seek to preserve the anonymity of a juvenile offender. [Citation.]...Whatever temporary embarrassment might result to Green or his family by disclosure of his juvenile record—if the prosecution insisted on using him to make its case—is outweighed by petitioner’s right to probe into the influence of possible bias in the testimony of a crucial identification witness.... [11] The State’s policy interest in protecting the confidentiality of a juvenile offender’s record cannot require yielding of so vital a constitutional right as the effective cross-examination for bias of an adverse witness. The State could have protected Green from exposure of his juvenile adjudication in these circumstances by refraining from using him to make out its case; the State cannot, consistent with the right of confrontation, require the petitioner to bear the full burden of vindicating the State’s interest in the secrecy of juvenile criminal records.” (415 U.S. at pp. 319-320 [39 L.Ed.2d at pp. 355-356].)
It follows that the principle of confidentiality, where it conflicts with a defendant’s constitutional rights of confrontation and cross-examination, must give way. But it does not follow that the trial court erred in refusing to grant petitioner’s discovery motion. The discretion which a trial court has under
Ballard
to order a psychiatric examination of a complaining witness in a case involving sex violations does not rise to a constitutional level. Consequently, petitioner’s interest in obtaining information in aid of his
Ballard
motion does not in itself require that the protective screen be pierced. It is petitioner’s interest in obtaining information
in aid of effective cross-examination
that furnishes the appropriate standard by which limitations on the principle of confidentiality are to be measured. By that standard, the trial court was justified in denying petitioner’s overbroad request. An accused is “not entitled to inspect material as a matter of right without regard to the adverse effects of disclosure and without a prior showing of good cause”
(Hill
v.
Superior Court, supra,
The relief now sought by petitioner will, therefore, be denied without prejudice to the right of petitioner to seek limited discovery on a more specific showing in accordance with the views expressed in this opinion. 2
Racanelli, P. J., and Newsom, J., concurred.
Notes
1Welfare and Institutions Code section 827 provides as follows: “Except as provided in Section 828, a petition filed in any juvenile court proceeding, reports of the probation officer, and all other documents filed in any such case or made available to the probation officer in making his report, or to the judge, referee or other hearing officer, and thereafter retained by the probation officer, judge, referee, or other hearing officer, may be inspected only by court personnel, the minor who is the subject of the proceeding, his parents or guardian, the attorneys for such parties, and such other persons as may be designated by court order of the judge of the juvenile court upon filing a petition therefor.”
We offer the following observations for the guidance of the trial court in the event that petitioner renews his pretrial discovery motion. Petitioner appears entitled without further showing to discovery of the prosecuting witnesses’ “rap sheets”
(In re Ricky B., supra,
