Model Lara Bingle will spend time behind bars if she gets behind the wheel within the next two years.
The Sydney socialite was handed a six-month suspended jail sentence on Tuesday for twice driving without a licence.
She was fined $2000 and banned for driving for two years.
Bingle was flocked by fans, and happily posed for photographs as she made her way into Waverley Local Court, arriving in a black Audi.
The 27-year-old had pleaded guilty to the two driving charges and underwent a driving offenders' program.
Magistrate Claire Farnan spent five minutes berating Bingle about her past driving habits but also praised Bingle's community work.
"Your driving record is very poor," Ms Farnan said.
"These laws apply to everyone in the community in exactly the same way. They are not there to be annoying,"
In making her decision, she said she had considered that the model was a person who had "contributed to the community".
Despite being handed a suspended jail sentence, Bingle smiled and giggled as she walked out of court. Her lawyer Michael Ainsworth said Bingle wanted to lecture at the offenders' program and help discourage people from breaking the road rules.
He said Bingle's star status had left her unable to facilitate simple administritive duties because "she's always had people do it for her".
"My client is somewhat unworldly when it comes to administrative things because a lot of it has been done for her," Mr Ainsworth said.
Bingle was pulled over by police in October and November last year without a licence.
She walked out of court flanked by her lawyer and refused to comment as she pushed through a waiting media pack.
Mr Ainsworth barged through the media pack, elbowing a photographer as he tried to make his way through.
Bingle and her actor partner Sam Worthington, who starred in Avatar, were involved in a heated stoush with a New York photographer in February.
Worthington avoided jail after allegedly assaulting the photographer, claiming he was protecting his girlfriend.