In my state, thats reckless driving. You're a lucky fella, here they would have cuffed you in front of your friend, made them walk home, and then tow your car away.

But.... I'm guessing its not quite as harsh where you live, as you aren't in jail. If you have money, get a lawyer. If not, dress up nice and defend yourself in court. I'd bet that it really just depends on if the judge reads the funny section of the newspaper the morning you go into court.