The judge wanted to be sure the teen understood the criminal case brought against him, and could participate in his own defense.