Sep 9, 2010 13:51 GMT  ·  By

At the end of July, Snooki of MTV’s “Jersey Shore” was arrested for being drunk in public and disturbing the peace. She just went to court for her sentencing – and a lecture from the judge.

A very tanned and somber-dressed Nicole Polizzi, aka Snooki, presented herself before a judge to be sentenced for her crime and, while she got off the hook rather easily, she still had to take a few harsh words.

As E! Online informs, the presiding judge would not let Snooki simply walk out of the courtroom and before sentencing her to 2 days of community work and a fine, warned her of the dangers of being “a wannabe Lindsay Lohan.”

“You seem to be acting like a Lindsay Lohan wannabe,” Judge Damian Murray told Snooki, who has just recently earned for herself the moniker of “criminally annoying” in the blogosphere.

“Going through life rude, profane, obnoxious and self-indulgent is not the way you want to go through life,” the judge further admonished her.

He then went on to ask her if the entire arrest had been “scripted or [represented] actions of your own initiative.”

“If it was scripted, only you can determine whether it was worth trading your dignity for a paycheck,” he then went on to say.

Snooki assured him that the entire embarrassing moment, which has all been caught on camera, was of her own doing, but stressed that it was a one-time thing that she hoped never to repeat again.

Right before being sentenced to 2 days of community work, 1 of which she already put in at an animal shelter, Snooki addressed the court and apologized for her behavior.

“I would definitely like to apologize to the Seaside cops, when I saw what happened and everyone told me what happened, I was very embarrassed,” the reality star said.

“This was not like me and I’ve never been in this situation before,” she stressed. However, she’d learned her lesson and would never make the same mistake again.

As a side note, Dina Lohan, the mother of Lindsay and Ali Lohan, is not at all happy with the comparison the judge made between her daughter and Snooki.