A judge ruled Thursday that troubled US actress Lindsay Lohan could check into a California rehab center for 90 days of court-ordered treatment, after a last-minute venue switch.
Lohan had been expected to check into a facility in New York state, but changed her mind because it did not allow smoking, heading instead for a center in Newport Beach, south of Los Angeles.
Los Angeles Superior Court judge James R. Dabney agreed to the 11th hour location switch requested by Lohan's New York-based attorney Mark Heller, saying it "appeared to comply" with what prosecutors wanted.
The 26-year-old starlet was also sentenced to two years' probation in March, after pleading no contest to misdemeanor charges stemming from a car crash in Santa Monica in June 2012.
Lohan will have to carry out 30 days of community service -- which she can do in New York, where she currently lives -- and undergo 18 months of psychotherapy.
Lohan was driving a Porsche that collided with a truck on the Pacific Coast Highway last June. She at first claimed she was a passenger in the car, but an investigation later showed that she had been the driver.
Although she won praise for her performance in the 2004 film "Mean Girls" as a teen, the former Disney star has become better known for her drug problems, legal woes and social life.
She has been in and out of court often since 2007, but has managed to stay out of prison except for 87 minutes behind bars in November of that year.