Cal. Penal Code § 853.85
This chapter shall not apply in any case where a person is arrested for an offense declared to be a felony.