Cal. Health & Safety Code § 11361.8
(b) Upon receiving a petition under subdivision (a), the court shall presume the petitioner satisfies the criteria in subdivision (a) unless the party opposing the petition proves by clear and convincing evidence that the petitioner does not satisfy the criteria. If the petitioner satisfies the criteria in subdivision (a), the court shall grant the petition to recall the sentence or dismiss the sentence because it is legally invalid unless the court determines that granting the petition would pose an unreasonable risk of danger to public safety.