Cal. Welf. & Inst. Code § 790
(a) Notwithstanding Section 654 or 654.2, or any other provision of law, this article shall apply whenever a case is before the juvenile court for a determination of whether a minor is a person described in Section 602 because of the commission of a felony offense, if all of the following circumstances apply:
(c)