¶1The defendant, Mark R. Greene, appeals from a denial of his motion to dismiss or to remand his case to the bench session of the Worcester Division of the District Court Department. On August 1, 1985, Greene and a codefendant *145appeared before the bench session of the Worcester District Court to answer to complaints charging each with breaking and entering a vehicle in the nighttime with intent to commit a misdemeanor’ (three counts), larceny of property under one hundred dollars (two counts), larceny of property over one hundred dollars (one count), and receiving stolen property (three counts). The Commonwealth does not dispute that, at that hearing, Greene expressed a desire to dispose of the matter that day.
¶2On August 15, 1985, the defendant appeared before the jury-of-six session in the Worcester District Court (jury session) and the judge denied his motion to dismiss or remand to the bench session. On September 13, 1985, Greene, represented by counsel, admitted to sufficient facts, and was found guilty on the three counts of breaking and entering. The three counts of larceny were placed on file and the three counts of receiving stolen property were dismissed. The defendant was sentenced to concurrent terms of probation for one year and ordered to pay fines and restitution; he appealed and we allowed his application for direct appellate review. We reverse.
¶3The Commonwealth claims that the present appeal should not be considered since the defendant waived all nonjurisdictional defects by his admission to sufficient facts. This court has stated that a guilty plea makes irrelevant all nonjurisdictional defects in the proceedings. Commonwealth v. Zion, 359 Mass. 559, 563 (1971). Garvin v. Commonwealth, 351 Mass. 661, 663, appeal dismissed and cert. denied, 389 U.S. 13 (1967). A judge is entitled to treat an admission to sufficient facts as the functional equivalent of a guilty plea if the admis*146sion was made knowingly and voluntarily.
¶4The Commonwealth claims that under G. L. c. 263, § 6 (1984 ed.), the judge in the bench session was within his authority to transfer the cases of both codefendants to the jury session of the District Court. The defendant claims that G. L. c. 263, § 6, does not apply to the bench session of the District Court. We agree with the defendant. General Laws c. 263, § 6, provides in part that a defendant in a criminal case other than a capital case may “waive his right to trial by jury by signing a written waiver thereof and filing the same with the clerk of the court” and “[i]f the court consents to the waiver, he shall be tried by the court instead of by a jury, but not, however, unless all the defendants, if there are two or more charged with related offenses . . . shall have exercised such election before a jury has been impanelled to try any of the defendants . . . .” Prior to the 1979 amendment to c. 263, § 6, the statute applied to the Superior Court and the Housing Court. St. 1973, c. 591, § 20. The 1979 amendment deleted the reference to these courts. St. 1979, c. 344, § 19, approved with emergency preamble, June 30, 1979. We do not see in the 1979 amendment, as does the Commonwealth, an intent to alter significantly the trial de nova system in the District Court.
¶5*147Prior to 1972, there were no jury trials in the District Court. In 1972 a jury-of-six session was established in the District Court,
¶6The amendment to G. L. c. 263, § 6, deleting the references to the Superior Court and Housing Court was not intended to deprive the defendant of his two-trial option. We find support for this view both in the Act itself and in its genesis. The emergency preamble to chapter 344 of the Acts of 1979, recites that one purpose of the legislation is to have its provisions in effect on the same date as the Massachusetts Rules of Criminal Procedure. In addition, 1979 House Bill No. 6252, the precursor to chapter 344, was entitled, “An Act Conforming the General Laws to the Massachusetts Rules of Criminal Procedure.” Massachusetts Rule of Criminal Procedure 19 (a), 378 Mass. 888 (1979), entitled “Trial by jury or by the court” essentially mirrors G. L. c. 263, § 6. However, rule 19 (a) *148clearly applies “to Superior Court and jury sessions in District Court” (emphasis added). We think the Legislature intended a similar application of G. L. c. 263, § 6.
¶7Waiver at District Court bench trials is governed by G. L. c. 218, § 26A. There is no requirement that all codefendants waive the right to a first instance jury trial if any one defendant wants to waive that right. Furthermore, there is no requirement that the judge consent to the waiver as there is in G. L. c. 263, § 6. Thus, on analysis it becomes clear that the two statutes deal with different types of waivers and that c. 263, § 6, applies only to a jury session (District Court or Superior Court).
¶8The purpose of the requirement in G. L. c. 263, § 6, that all defendants must waive, was to avoid two trials where one codefendant wanted a bench trial and another wanted a jury trial. Commonwealth v. Boris, 317 Mass. 309, 311 (1944). The elimination of double trials is not a factor where the two-tier de nova system grants codefendants that very option. Furthermore, the statute was certainly not intended to force to trial one defendant who wants to plead guilty, simply because a codefendant wants a jury trial. Such a result would be contrary to the efficient administration of the courts and would inhibit a prosecutor’s ability to obtain cooperation from a codefendant in exchange for a favorable recommendation at plea and sentencing. We therefore decline to read G. L. c. 263, § 6, as applying to the bench session of the District Court. To do so would deny to many criminal defendants their statutory right to the two-tier de nova system. Although there is no constitutional right not to be tried by a jury, Singer v. United States, 380 U.S. 24, 34 (1965); Commonwealth v. Millen, 289 Mass. 441, 465, cert. denied, 295 U.S. 765 (1935), to deny a defendant the statutory right of the de nova system would raise serious due process questions. See Hicks v. Oklahoma, 447 U.S. 343, 346 (1980) (statutory right to have trial jury fix punishment; due process violation where taken away by incorrect jury instruction).
¶9The present two-tier de nova system in this Commonwealth grants to certain criminal defendants a choice of obtaining a jury trial in the first instance or having the case heard first in *149the bench session of the District Court, subject to the right of appeal to the jury session. Distinct advantages inure to a defendant making use of the two-tier system. See Lydonv. Commonwealth, supra at 365. “A bench trial serves as a means of discovery and recordation of the prosecution’s testimony. Indeed, the judge may find the defendant not guilty. ... A bench trial takes less time than a jury trial, offering the defendant a less expensive and less time consuming process. And, if the defendant does not like the result, he may obtain a second chance before a jury or, if he waives a jury, before a second judge, unfettered by the adverse decision previously made.” Id. We will not read G. L. c. 263, § 6, as denying these advantages to certain defendants.
¶10The judge in the bench session should have allowed Greene to proceed in that session. Accordingly, the judgments are vacated and the case remanded to the District Court bench session for proceedings not inconsistent with this opinion. We need not address the other issues raised by the defendant.
¶11So ordered.
¶12 It is unclear whether Greene wanted to admit to sufficient facts or have a bench trial. Defense counsel made statements indicating both: “This will be a disposition this morning”; and “my client would like to have a bench trial . . . .” The defendant now claims that he was attempting to admit to sufficient facts at the bench session.
¶13 We need not address the issue whether the defendant’s admission was knowingly and voluntarily made since we vacate the judgment of the jury session.
¶14 General Laws c. 218, § 27A, added by St. 1972, c. 620, § 1.