LOS ANGELES (Reuters) - Actress Lindsay Lohan failed an alcohol test while under house arrest in Los Angeles, a judge ruled on Thursday, but she did not violate her probation and will face no punishment.
But Los Angeles Superior Court judge Stephanie Sautner warned Lohan to behave herself as she nears the end of an expected 35 days of home confinement, and banned her from holding further parties.
Lohan, 24, who is serving time at home for stealing a necklace in January, had been summoned to court on Thursday for a hearing on whether she violated her probation by failing an alcohol test last week.
Celebrity website TMZ said the "Mean Girls" actress threw a noisy barbecue party for friends at her house last week.
Media reports had speculated that Lohan, who has been in and out of jail and rehab for much of the past four years, could be immediately sent back behind bars.
But Sautner said that a court order in a previous case stipulated that the actress no longer had to undergo tests for drugs or alcohol since February 2011.
Lohan was sentenced in May to four months jail and 480 hours of community service after pleading no contest to jewelry theft. She was given a shorter term of house arrest because of jail overcrowding and because she is a nonviolent offender.
Sautner told Lohan that for the rest of her house arrest, due to end on June 29, she could not have more than one friend or relative over to her home in the California beach resort of Venice.
"Don't give people reason to hate you. Don't do stupid things that fly in the spirit of the court's order," she told Lohan.
"You know I sentenced you to jail. You know I didn't sentence you to house arrest, and what do you do? You have barbecues at your house so your neighbors are writing letters about you," Sautner told her.
Lohan's once promising Hollywood career has been derailed because of drug and alcohol addiction and repeated run-ins with the law. However she is due to start filming a movie about New York crime boss John Gotti later this year with co-stars John Travolta and Al Pacino.
(Reporting by Alex Dobuzinskis; Editing by Jill Serjeant)