Nick M. Prizant, Speros Sarras, Alice M. Holling, Pat McGee and Barbara Jean Elliott were accused oE the crime of conspiracy (Pen. Code, § 182) to violate sections 266h (pimping) and 266i (pandering) of the Penal Code and section 41.08 of the Municipal Code of the City of Los Angeles. The victim was Evelyn Morgan.
Prizant was accused of four substantive offenses of pimping, was jointly accused with McGee of two offenses of pandering, jointly accused with Elliott of an offense of pandering and jointly accused with Holling of an offense of pandering. Prizant was acquitted of two offenses of pandering and he and the other defendants were convicted of all other offenses charged. All the defendants made motions for new trial; the motion of Elliott was granted as to the conspiracy count. *544Prizant was sentenced to state prison; Sarras was granted probation on condition he spend six months in jail and Holling, McGee and Elliott were sentenced to the California Institution for Women. All defendants appeal from the judgments and all except McGee appeal from orders denying their motions for a new trial.
All defendants urge reversal of the judgments upon the ground that during the preliminary hearing motions were made under section 868 of the Penal Code to exclude all persons from the courtroom except those named in the section who may be permitted to remain, namely, the “clerk, court reporter and bailiff, the prosecutor and his counsel, the Attorney General, the district attorney of the county, the defendant and his counsel, and the officer having the defendant in custody; provided, however, that when the prosecuting witness is a female she shall be entitled at all times to the attendance of a person of her own sex. ’ ’ The magistrate granted the motions as to all unauthorized persons except one investigator, who was allowed to remain during the hearing.
The motions were made at the preliminary on behalf of defendants Sarras and Elliott. Prior to entry of their pleas Sarras and Elliott made a motion under Section 995 of the Penal Code for dismissal of the information, which motion was denied. At the commencement of the trial they renewed their motion, and it was again denied.
At the time of the preliminary all defendants were on bail and consequently they were not in custody of the investigator who was permitted to remain, or of any officer. The “prosecutor” or “prosecuting witness” was Evelyn Morgan, not the investigator.
For the error in permitting the investigator to remain in the courtroom during the preliminary hearing the judgments must be reversed.
The recent case of People v. Elliot, 54 Cal.2d 498 [6 Cal.Rptr. 753, 354 P.2d 225], is controlling. In that case the unauthorized person who was permitted to remain in the courtroom was a newspaper reporter; here he ivas an investigator, but that factual difference is immaterial. The ground of the decision in the Elliot case was that the failure to observe the right of the accused under section 868 to have all unauthorized persons excluded from the courtroom established prejudice as a matter of law, nullified the proceedings and rendered void the order committing the defendant for trial. So it is in the present case.
*545The brief of the attorney general was filed prior to the decision in the Elliot case. It placed reliance upon the absence of a showing of prejudice. Upon the oral argument he properly conceded that all inquiry with respect to actual prejudice is foreclosed.
The protection which the law provides cannot be limited to conditions in which harm to the defendant is apparent. Even if the circumstances were such as to render it highly improbable that actual prejudice would be suffered the presumption of prejudice would prevail.
The court stated in the Elliot opinion: “This is not a mere insubstantial right. It is, rather, a fundamental safeguard. . . . When the statute is violated no showing of actual prejudice is required. Prejudice must be presumed. Obviously, if actual prejudice must be shown, the guarantee would become meaningless. (People v. Byrnes, 84 Cal.App.2d 72, 79 [190 P.2d 290].)” The court held that the right of Elliot was violated not because the person who was allowed to remain in court was a newspaperman, but because he was not one of the persons who may be permitted to remain.
Upon the oral argument the attorney general contended that section 868 should not be given a literal interpretation; if applied as it is written it would require that the magistrate and any witness who was on the stand leave the room. Of course, such an interpretation would be absurd. The law gives the defendant a right to have a hearing attended only by the parties (including the prosecuting witness), represented by their counsel, and the personnel of the court. By amendment of the section in 1957, out of an abundance of caution, the Legislature added the court reporter and the bailiff as officers of the court who should be permitted to remain. It is doubtful that it would ever have been seriously urged that the magistrate or the trial judge would be required to dismember his court by excluding some of its component personnel.
Other arguments of the attorney general are to the effect that the section should be so interpreted as to permit an investigator or police officer to remain in court in order to consult with and advise the district attorney. The only reason urged for such an amendment of the law by judicial interpretation is that in some cases the district attorney has need of such assistance.
In such cases as People v. Boyden, 116 Cal.App.2d 278 [253 P.2d 773], People v. Foster, 48 Cal.App. 551 [192 P. 142], People v. Chapman, 93 Cal.App.2d 365 [209 P.2d 121] and *546 People v. Lem Deo, 132 Cal. 199 [64 P. 265], it was observed that it is customary for one police officer to remain in court to assist the district attorney, and that the practice is a proper one. These eases are of interest so far as they recognize the existence of a common practice, but they have no further interest. In each of the cases the motion was to exclude witnesses under section 867 of the Penal Code. In each of the first three cases the person who was allowed to remain was an officer and in the Lem Deo ease he was an interpreter. As noted in the Elliot opinion it is within the discretion of the court to exclude witnesses under section 867, whereas the duty of the court upon motion under section 868 is mandatory. In the mentioned cases the courts held only that the court’s discretion was not abused.
Under no rule of interpretation could we hold that the magistrate had the discretionary power to obey or disobey the mandate of section 868. Neither could we read into the statute a legislative intention that some one not named in the section, and not an officer of the court, can be allowed to remain in court as an assistant to the district attorney. The section has been amended twice since its enactment in 1872. In 1915 the Legislature reconsidered the section and amended it to permit a female prosecuting witness to be attended by one of her own sex. As previously stated, the section was amended in 1957 to name, also, the court reporter and the bailiff as persons not to be excluded. It must be presumed that the Legislature was informed as to the manner in which the statute had operated for many years and saw no need for any further amendment.
It may be that district attorneys do sometimes need the assistance of investigators or police officers in the presentation of the People’s eases. It may even be that in exceptional cases they could receive assistance from not merely one, but several investigators or officers. The assistance of medical experts or ballistic experts might be desirable at times, but these are not matters for the courts. As the section reads the district attorney has the assistance of the prosecuting witness. The mandate of the statute is clearly expressed in a manner that leaves no doubt as to its purpose. Nothing can be added to or taken from its plain provision except by legislative action. “ If the words of the statute are clear, the court should not add to or alter them to accomplish a purpose that does not appear on the face of the statute or from its legislative history.” (People v. Knowles, 35 Cal.2d 175, 183 [217 P.2d 1].)
*547Although defendants Prizant, Holling and McGee did not make motions to exclude all unauthorized persons during the preliminary hearing, they are nevertheless entitled to rely upon the motions of Sarras and Elliott, and their partial denial.
Prior to the decision in Elliot it had never been held that denial of a motion under section 868 during the preliminary hearing invalidated the proceedings and rendered the order of commitment void.
In People v. Kitchens, 46 Cal.2d 260 [294 P.2d 17], the court considered a claim of error in the admission of evidence unlawfully taken by the police. The evidence had been admitted without objection by the defendant and it was contended by the People that by his failure to object defendant lost the right to rely upon the error. This contention was rejected. After the trial in Kitchens, the court had decided People v. Cahan, 44 Cal.2d 434 [282 P.2d 905], in which it was held for the first time that a conviction based upon evidence illegally obtained must be reversed. The court said in People v. Kitchens, supra, pages 262-263: “Although we adhere to the rule that ordinarily the admission of evidence will not be reviewed on appeal in the absence of a proper objection in the trial court, we conclude that it is not applicable to appeals based on the admission of illegally obtained evidence in cases that were tried before the Cahan decision. ... A contrary holding would place an unreasonable burden on defendants to anticipate unforeseen changes in the law and encourage fruitless objections in other situations where defendants might hope that an established rule of evidence would be changed on appeal. Moreover, in view of the decisions of this court prior to People v. Cahan, supra, an objection would have been futile, and 1 The law neither does nor requires idle acts. ’ (Civ. Code, § 3532.)”
We must assume that if the defendants who failed to make the motion at the time of the hearing had understood that it was their right to have spectators excluded they would have so moved, since it was no less in their interests than it was in the interests of defendants Sarras and Elliott to have the public excluded. Moreover, it would have been futile for them to malee the motion after the motions of Sarras and Elliott had been denied.
The judgments are reversed and the court is directed to dismiss the information.
Vallée, J., concurred.