Good man, it's nobodies fault but your own. Take responsibility for your actions.

Tell the judge "Hey, I accept responsibilities for my actions, they are my own doings. I have learned a valuable lesson and am lucky to be young enough to have a second chance."

Something along those lines should butter em up pretty good.....and dress nice.