Cal. Penal Code § 1170.91
(b)
(3) Upon receiving a petition under this subdivision, the court shall determine, at a public hearing held after not less than 15 days’ notice to the prosecution, the defense, and any victim of the offense, whether the person satisfies the criteria in this subdivision. At that hearing, the prosecution shall have an opportunity to be heard on the petitioner’s eligibility and suitability for resentencing. If the person satisfies the criteria, the court may, in the interest of justice, and regardless of whether the original sentence was imposed after a trial or plea, do either of the following: