)  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 giving rise to the deferred adjudication community supervision. (e)  A person may petition the court that placed the person on deferred adjudication community supervision for an order of nondisclosure of criminal history record information under this section only on or after: (0)  the discharge and dismissal, if the offense for which the person was placed on deferred adjudication was a misdemeanor other than a misdemeanor described by Subdivision (0); 