*1073Defendant Francisco Javier Baldivia committed a series of criminal offenses when he was 17 years old. Before Proposition 57 took effect in November 2016, defendant entered into a plea agreement in a direct-filed adult criminal proceeding that had been initiated without a juvenile court fitness hearing. Under the plea agreement, he pleaded no *1074contest to four counts and admitted various enhancement allegations, including Penal Code section 12022.53
Proposition 57, which bars direct-filed adult criminal proceedings for juveniles and requires a juvenile fitness hearing before a juvenile case may be transferred to adult criminal court, took effect during the pendency of defendant's appeal. The firearm enhancement statutes were also amended to grant trial courts discretion to strike such enhancements. Defendant contends on appeal that he is entitled to a *706remand for a juvenile fitness hearing and, if he is found unfit for juvenile court and transferred to adult criminal court, a resentencing hearing at which the trial court may exercise its newly granted discretion to strike the firearm enhancement.
We hold that defendant may raise these issues in his appeal from the judgment despite his failure to obtain a certificate of probable cause in support of his appeal from the judgment because these changes in the law were implicitly incorporated into his plea agreement. Consequently, his contentions do not challenge the validity of his plea. The Attorney General concedes as much and also concedes the merit of defendant's contentions. We agree and reverse the judgment.
I. Background
In March 2015, 17-year-old defendant and a compatriot used a gun to rob a man of his wallet and truck. Less than two hours later, they again used a gun to rob another man of his vehicle. The police were able to track the second vehicle because the victim had left his cell phone in his vehicle. When the police tried to pull over the vehicle, the vehicle increased its speed to over 100 miles per hour and proceeded at high speed through a residential neighborhood without slowing or stopping at stop lights. Defendant and his compatriot eventually abandoned the vehicle and fled on foot. Although defendant initially resisted, he was arrested, and his compatriot was also captured. Defendant was associated with the Sureno gang, and he had "three dots on his forehead, and 'VST' on his chest." His juvenile criminal history included adjudications for robbery, eluding, vehicle theft, and resisting arrest, all within the 18 months preceding his March 2015 offenses.
Although defendant was a juvenile, he was charged in adult criminal court by a direct-filed amended complaint with two counts of second degree *1075robbery (§§ 211, 212.5, subd. (c) ), two counts of carjacking (§ 215), active participation in a criminal street gang (§ 186.22, subd. (a) ), reckless eluding an officer ( Veh. Code, § 2800.2, subd. (a) ), and resisting an officer (§ 148, subd. (a)(1) ). It was further alleged that defendant had committed the robberies, the carjackings, and the eluding for the benefit of a gang (§ 186.22, subd. (b)(1)(C), (4) ). In addition, it was alleged that a principal in the robberies and carjackings had personally used a firearm ( § 12022.53, subds. (b), (e)(1) ).
In May 2016, defendant entered into a plea agreement under which he agreed to plead no contest to the two robbery counts, the eluding count, and the resisting count and to admit the firearm and gang enhancement allegations attached to the robbery counts in exchange for an agreed sentence of 17 years and four months in prison and dismissal of the remaining counts and allegations. In June 2016, the court imposed the agreed prison sentence, which included 13 years and four months for the section 12022.53 firearm enhancements. The court dismissed the other counts and allegations, and defendant timely filed a notice of appeal challenging only post-plea proceedings. He did not request a certificate of probable cause.
Proposition 57 took effect on November 9, 2016. ( People v. Superior Court (Lara ) (2018)
Defendant then filed a motion in the superior court asking the superior court to "remand" the case to the juvenile court for a "juvenile transfer hearing" in light of Proposition 57. The prosecution opposed the request on the ground that Proposition 57 was "not retroactive." In June 2017, the superior court denied defendant's motion. In July 2017, defendant filed a notice of appeal from the court's denial of his motion. In his notice of appeal, he claimed that he was challenging the "validity of the plea or admission"
*1076and requested a certificate of probable cause. The only grounds identified in his request for a certificate related to the denial of his motion for remand. The court granted the certificate.
In July 2017, defendant's appellate counsel notified this court of the completion of the proceedings in the trial court. This court lifted the stay and restored the case to active status. Defendant's appellate counsel did not renew his request to strike the Wende brief and file a new opening brief. This court ordered that defendant's two appeals be considered together. Defendant's appellate counsel filed an opening brief in the second appeal in March 2018 in which he contended that Proposition 57 applied to his case and that he was entitled to a remand to the juvenile court for a transfer hearing. The Attorney General filed a concession brief in which he not only conceded that defendant was entitled to a transfer hearing, but also asserted that defendant was entitled to a remand for the sentencing court to exercise its newly granted discretion to strike the firearm enhancement. Defendant's reply brief adopted the Attorney General's assertions regarding the firearm enhancement.
We requested supplemental briefing from the parties addressing, among other things, whether the Proposition 57 and firearm enhancement contentions could be raised in defendant's appeal from the judgment in the absence of a certificate of probable cause in light of defendant's agreed-term plea agreement. The Attorney General and defendant agreed that those contentions could be raised in that appeal despite the absence of a certificate.
II. Discussion
Although there was no authority on the certificate issue when we requested briefing from the parties on that issue, the Second District Court of Appeal published its decision in People v. Hurlic (2018)
Hurlic had entered into a plea agreement for an agreed term that included 20 *708years for a firearm enhancement. ( Hurlic , supra , 25 Cal.App.5th at pp. 53-54,
The Second District recognized that it was required to "[r]econcil[e]" "two lines of authority." ( Hurlic , supra ,
The Second District concluded that there were three reasons why the latter line of authority should prevail over the former under these circumstances. ( Hurlic , supra ,
We find the Second District's first reason dispositive. "[T]he general rule in California is that the plea agreement will be ' "deemed to incorporate and contemplate not only the existing law but the reserve power of the state to amend the law or enact additional laws for the public good and in pursuance of public policy. ..." ' [Citation.] That the parties enter into a plea agreement thus does not have the effect of insulating them from changes in the law that the Legislature has intended to apply to them." ( Doe v. Harris (2013)
In Harris v. Superior Court (2016)
Under Doe and Harris , a plea agreement is deemed to incorporate subsequent changes in the law so long as those changes were intended by the Legislature or the electorate to apply to such a plea agreement. In Doe and Harris , the changes in the law were expressly intended to apply retroactively. The parties here contend that, under the California Supreme Court's decision in Lara , an "inference of retroactivity" requires that both Senate Bill No. 620 and Proposition 57 be applied to all judgments that were not final when those laws took effect. ( Lara , supra ,
In Lara , the California Supreme Court held that the long-recognized "inference of retroactivity" meant that Proposition 57's transfer hearing *1079provisions applied "to all juveniles charged directly in adult court whose judgment was not final at the time it was enacted." ( Lara , supra , 4 Cal.5th at pp. 303-304,
While the analysis in Lara , unlike that in Harris , did not depend on express indications of the electorate's intent, but rather was premised on the implication that the electorate had incorporated the "inference of retroactivity" by not expressly indicating otherwise, the result in both cases was that the change in the law was deemed to be retroactive. We can see no reason why this distinction should alter the impact on plea agreements. If the electorate or the Legislature expressly or implicitly contemplated that a change in the law related to the consequences of criminal offenses would apply retroactively to all nonfinal cases, those changes logically must apply to preexisting plea agreements, since most criminal cases are resolved by plea agreements. It follows that defendant's appellate contentions were not an attack on the validity of his plea and did not require a certificate of probable cause.
Because it is undisputed that his Proposition 57 and Senate Bill No. 620 contentions are meritorious, we will remand this matter for a transfer hearing and, if necessary, a resentencing hearing.
III. Disposition
The judgment is reversed. On remand, the juvenile court shall hold a transfer hearing. If the juvenile court finds defendant fit for juvenile court treatment, it shall impose an appropriate juvenile disposition. If the juvenile court finds defendant unfit, this matter shall be transferred to adult criminal court, and the court shall hold a resentencing hearing at which it may exercise its discretion to strike the firearm enhancements. If the court strikes one or both of those enhancements, it shall resentence defendant. If it declines to *1080strike either of the firearm enhancements, it shall reinstate the judgment. Defendant's appeal from the superior court's order denying his remand motion is dismissed as moot.
WE CONCUR:
Elia, Acting P. J.
Bamattre-Manoukian, J.
Notes
Subsequent statutory references are to the Penal Code unless otherwise specified.
People v. Wende (1979)
They disagreed about the validity of this court's order in the first appeal that created the circumstances that led to the second appeal. Since our resolution of defendant's first appeal disposes of all of his contentions, we need not address the second appeal, which we dismiss as moot.
In re Estrada (1965)
