), after notice to the state, an opportunity for a hearing, and a determination that the person is entitled to file the petition and issuance of the order is in the best interest of justice, the court shall issue an order prohibiting criminal justice agencies from disclosing to the public criminal history record information related to the offense for which the person entered the veterans treatment court program