guilty of having violated section 11501 of the Health and Safety Code (sale of narcotics). He was sentenced to state prison and appeals from the judgment.
In view of the nature of the issues raised on appeal a very condensed statement of the facts will suffice.
On March 14, 1967, an informer introduced defendant to Edward Noriega, an undercover officer. Defendant removed two balloons from his pocket and handed them to the informer. The informer then asked Noriega for $100. Noriega gave $100 to the informer who in turn handed the money to defendant. The transaction tpok place in the living room of the informer’s home.
The two balloons contained a white powdery substance. Privately retained counsel stipulated that the balloons contained ‘1 the narcotic heroin. ’ ’
Testifying in his own defense, defendant admitted that there had been a transaction with the informer. He denied, however, that he had sold anything and claimed that the deal had to do with two Doberman pinscher puppies which the informer was-trying to sell to him. In any event, Officer Noriega was not present.
At the outset of the trial defendant had admitted six out of seven prior felony convictions with which he was charged. The court, however, with the concurrence of the district attorney, found “that the best interests of justice would be served if the defendant were committed pursuant to Section 3051 of the Welfare and Institutions Code,” adjourned the criminal proceedings and referred the matter to the so-called psychiatric department of the court. It appears from the record that although defendant was then committed to the California Rehabilitation Center he was later rejected under the provisions of section 3053 of the Welfare and Institutions Code. After defendant was returned to the trial court, it conducted a hearing to determine whether or not the Director of Corree
*273
tions had abused his discretion in returning defendant. After hearing various witnesses the court found that there had been no such abuse. In addition it appeared that in the meanwhile the Adult Authority had revoked defendant’s parole in another matter. The court thought that this action alone tied its hands, citing
In re Teran,
The most important of defendant’s present contentions is the claim that counsel’s stipulation that the balloons contained heroin deprived him of the right to confront the witness or witnesses who might have so testified.
(Pointer
v.
Texas,
There is nothing to the
Ibarra
point. The stipulation may have been nothing but a tactical move on the part of counsel. It was well designed to obviate unnecessary proof which would have focused the court’s attention on the most damning part of the evidence. Defendant’s position at the trial was not that the powder in the balloons was something other than heroin, but that he had had nothing to do with it. Certainly ineffective assistance does not affirmatively appear from this record.
(People
v.
Reeves,
Turning to the alleged lack of authority of counsel to stipulate to a. “crucial” fact, it is sufficient to say that while proof of the chemical composition of the powder was certainly essential to the People’s case, defendant’s denial of any connection with it relegated the issue to a subsidiary role. In the Harness case, on which defendant relies, it was held that an *274 attorney did not have the right to stipulate away his client’s only interest in the litigation. The distinction is obvious.
More serious is defendant’s confrontation point. He was entitled to confront all the witnesses against him, not just some, and there is nothing in the record to show that he, as distinguished from his attorney,
(Fay
v.
Noia,
If all we had to worry about is California case law interpreting the Constitution, defendant’s point could be dismissed as frivolous. In
People
v.
Foster,
Without intending to question the authority of
Foster,
the cases on which it relied and those which have followed it (e.g.,
People
v.
Ross,
Trials should be triable. Almost every record we see shows that by a waiver of one constitutional right or another the prosecution’s burden has been simplified. A good proportion of these waivers are simply made by counsel. Barely does the record show whether counsel’s apparent accommodation is prompted by trial tactics, negligence or sheer ignorance of the existence of the right. If it really follows from Boykin that every purported waiver of every constitutional right must be affirmatively shown to have been personally and intelligently *275 made by the client, it would be necessary to stop the proceedings and have a hearing on that question every time the attorney declines to cross-examine a witness or fails to object to inadmissible evidence. 3 Indeed, logically it might even follow that the record must show intelligent, personal waivers of constitutional rights not necessarily applicable, for who knows what a more vigorous cross-examination or the production of an additional witness might show. 4
The solution lies not in logic, but in practicalities. After all, the question is not whether the courts should permit a deprivation of a federal constitutional right to go without redress; rather it is the extent to which, on direct appeal, the trial record must negative possible violations. In Boykin the court held that when the conviction is based on a guilty plea, the record must so show; but, as the dissent points out, even if the court had held otherwise, Boykin could have attempted to establish in habeas corpus proceedings that he pleaded in ignorance. As long as collateral relief is available the question becomes simply this: when does the need of the trial court to get on with its business take a back seat to the desirability of negativing the need for such further proceedings.
In this case we deal with a simple stipulation of fact, not fatal to the defense or even contradictory to the defendant’s position at the trial. 5 We are convinced that in such a case the Constitution does not demand affirmative demonstration that *276 it has not been violated. Just where the line between a guilty plea and a stipulation of fact such as ours should be drawn, we need not attempt to determine. 6 There may be stipulations of fact so destructive of the accused’s position at the trial that to permit them to be made without a showing1 of his intelligent consent is to court reversal. This is not such a case.
As already noted, defendant is not without a remedy. If he can adequately allege that his attorney’s stipulation deprived him of the right to confrontation without a constitutionally valid waiver, he would undoubtedly be entitled to an evidentiary hearing on habeas corpus.
7
Berger
v.
California,
By pointing to habeas corpus as an available remedy we by no means intimate that defendant would be entitled to a retrial simply on a finding that he did not personally and intelligently waive his right to confrontation. He would still have to overcome problems arising out of the attorney’s power to adopt trial strategy except “where the circumstances are exceptional”
(Henry
v.
Mississippi,
Indeed, the complexities of the issues in a habeas corpus hearing illustrate the absurdity of requiring the making of a series of records of intelligent waivers in the middle of criminal trials. Further, defendants may derive positive benefits from being relegated to habeas corpus. One example is enough: suppose the attorney and the defendant have not, in fact, discussed a particular stipulation which the attorney wants to make. If it is of the type which requires the personal consent of the defendant and if the court inquires into' the existence of such consent during the trial, the defendant’s responses to the court’s inquiry may well conform to what he *277 believes bis lawyer wants him to say, rather than to the truth. A searching factual hearing on habeas corpus is far more likely to establish the true nature of a purported waiver of a constitutional right than are formula responses made during the trial.
Defendant further claims that the trial court erred when it refused to return him to the California Rehabilitation Center to await the outcome of his attorney’s attempts to have him restored to parole status. He claims that “this is precisely what was ordered by the Supreme Court in
In re Swearingen,
In that ease the Supreme Court found that the Director of' Corrections had prematurely concluded that Swearingen was not a fit subject, but held that the revocation of his parole disqualified him for treatment. It added to its opinion denying habeas corpus relief the following sentence: “Here the Adult Authority has revoked petitioner’s parole. Should the Adult Authority in the exercise of its discretion now restore petitioner on parole, he should be returned to the trial court for recommitment to the rehabilitation center, subject to the powers of the Director of Corrections under Welfare and Institutions Code section 3053.” (64 Cal.2d at p, 522.) That statement was correct because, absent the parole revocation, Swearingen was in the shoes of a person who had been properly committed to the California Rehabilitation Center and improperly rejected. The Supreme Court did not, however, order that Swearingen be held at the center pending possible proceedings leading to a restoration of parole.
Defendant advances various arguments why the trial court’s determination that he was properly rejected under section 3053 was wrong. Indeed he attacks the constitutionality of that section. The question presents itself whether we should discuss his contentions. We decline to do so. On this appeal our function is merely to state whether the trial court was right when it sentenced defendant, not whether all of the reasons which caused it to do so were correct. The revocation of the parole gave it no choice, and the judgment must therefore be affirmed. We are not free, as was- the Supreme Court in
Swearingen,
a habeas corpus proceeding, to write an opinion deciding what should be done with defendant if a hypothetical state of to parole a reality. The difference between an appeal and a decision on habeas corpus lies in the broader function of the writ, which
*278
today is used as a vehicle for the declaration of rights, as well as a means for release from illegal confinement.
(In re Fluery,
The judgment is affirmed.
Stephens, J., and Reppy, J., concurred.
A petition for a rehearing was denied October 2, 1969, and the opinion was modified to read as printed above. Appellant’s petition for a hearing by the Supreme Court was denied November 26, 1969.
Notes
The record simply showed that he so pleaded in the presence of his attorney. It did not affirmatively reveal any questions by the court or any statements to the court by the defendant.
The other rights referred to were the privilege against compulsory self-incrimination and the right to trial by jury.
It would be immaterial whether the inadmissibility rests on constitutional grounds. Counsel can be ineffective in more prosaic ways, such as by failing to block oral testimony of the contents of a writing. (Evid. Code, § 1500.) Unless the trial court explores the reasons for such a failure, it would not know whether what is taking place is a deprivation of the right to effective representation, a right which, presumably, the client cannot waive intelligently unless someone explains the best evidence rule to him. Of course, at such a hearing it may appear that counsel’s inaction was a tactical decision within his professional province.
(Henry
v.
Mississippi,
For example in
People
v.
Cheatham,
We stress again that the chemical nature of the powdery substance is not what the trial was about.
By pleading guilty a defendant, in effect, relieves the state of the burden of bringing him to trial. It is not unreasonable that such a waiver should be more closely scrutinized than matters which occur during the trial itself. In pointing to this distinction we do not intend to express a belief that the Boyhin rule does not reach any waivers made after the trial has started.
We express no opinion on the burdens of producing evidence and burdens of proof at such a hearing, nor on the effect of the present record with respect to the creation of any presumption affecting either such burden.
