(ii) that such person is granted a certificate of relief from disabilities or a certificate of good conduct pursuant to article twenty-three of the correction law.
Provided, however, that the commissioner may, on a case by case basis, refuse to restore a license which otherwise would be restored pursuant to this item, in the interest of the public safety and welfare.