; and (bb) the potential for adverse testimony by a victim or a representative of the Attorney General. (c) Effect of sealing order (1) Protection from disclosure Except as provided in paragraphs (3) and (4), if a court orders the sealing of a juvenile record of a person under subsection (a) or (b) with respect to a juvenile nonviolent offense, the proceedings in the case shall be deemed never to have occurred, and the person may properly reply accordingly to any inquiry about the events the records of which are ordered sealed. (2) Verification of sealing If a court orders the sealing of a juvenile record under subsection (a) or (b) with respect to a juvenile nonviolent offense, the court shall— (A) send a copy of the sealing order to each entity or person known to the court that possesses a record relating to the offense, including each— (i) law enforcement agency; and (ii) public or private correctional or detention facility; (B) in the sealing order, require each entity or person described in subparagraph (A) to— (i) seal the record; and (ii) submit a written certification to the court, under penalty of perjury, that the entity or person has sealed each paper and electronic copy of the record; (C) seal each paper and electronic copy of the record in the possession of the court; and (D) after receiving a written certification from each entity or person under subparagraph (B)(ii), notify the petitioner that each entity or person described in subparagraph (A) has sealed each paper and electronic copy of the record. (3) Law enforcement access to sealed records (A) In general Except as provided in subparagraph (B), a law enforcement agency may access a sealed juvenile record in the possession of the agency or another law enforcement agency solely— (i) to determine whether the person who is the subject of the record is a nonviolent offender eligible for a first-time-offender diversion program; (ii) for investigatory or prosecutorial purposes