Upon the conviction of the accused, the court may, when the conviction becomes final, order any matter or advertisement, in respect whereof the accused stands convicted, and which remains in the possession or under the control of the district attorney or any law enforcement agency, to be destroyed, and the court may cause to be destroyed any such material in its possession or under its control.
Ca. Pen. Code § 312