Six-year-old Daniel Peet of Los Lunas, New Mexico has put his mother through a lot in recent months.
Jessica Peet says he repeatedly refused to put a seat belt on in her van.
A police officer gave her a ticket because of it.
In March, Peet went to the courthouse and pleaded not guilty.
The judged waived the ticket but demanded to see Daniel in the courtroom.
"The judge talked to him and told him if he would keep doing this he would have to come back to the judge and the judge would see what he could do from there," said Jessica.
The judge also assigned Daniel to a special class with the state school of driving. It's designed to teach kids and their parents about safety.
Jessica says her son is now fearful to break the law and knows he will have to go back to the judge if he doesn't follow the rules.
She said she's thankful for the judge's help.
Copyright 2015 by The Associated Press. All Rights Reserved.
Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or firstname.lastname@example.org.