(d) Upon order from the court, the Department of Justice shall destroy any specimen or sample collected from the person and any searchable DNA database profile pertaining to the person, unless the department determines that the person is subject to the provisions of this chapter because of a past qualifying offense of record or is or has otherwise become obligated to submit a blood specimen or buccal swab sample as a result of a separate arrest, conviction, juvenile adjudication, or finding of guilty or not guilty by reason of insanity for an offense described in subdivision (a) of Section 296, or as a condition of a plea. The Department of Justice is not required to destroy analytical data or other items obtained from a blood specimen or saliva, or buccal swab sample, if evidence relating to another person subject to the provisions of this chapter would thereby be destroyed or otherwise compromised.
Any identification, warrant, probable cause to arrest, or arrest based upon a databank or database match is not invalidated due to a failure to expunge or a delay in expunging records.