A trial judge, in his discretion, if the person so convicted or who has entered a plea of guilty for any traffic violation, except the offenses enumerated in paragraphs (a) through (e) of subsection (1) of Section 63-1-51 and violations of the Implied Consent Law and the Uniform Controlled Substances Law, is a minor and dependent upon and subject to the care, custody and control of his parents or guardian, may, in lieu of the penalties otherwise provided by law and the provision of said section, suspend such minor’s driver’s license by taking and keeping same in custody of the court for a period of time not to exceed ninety (90) days. The judge so ordering such suspension shall enter upon his docket “DEFENDANT’S DRIVER’S LICENSE SUSPENDED FOR ____ DAYS IN LIEU OF CONVICTION” and such action by the trial judge shall not constitute a conviction. The trial judge also may require the minor to successfully complete a defensive driving course approved by the judge as a condition of the suspension. Costs of court and penalty assessment for driver education and training program may be imposed in such actions within the discretion of the court. Should a minor appeal, in the time and manner as by law provided, the decision whereby his license is suspended, the trial judge shall then return said license to the minor and impose the fines and/or penalties that he would have otherwise imposed and same shall constitute a conviction.