Lindsay LohanLindsay Lohan finally arrived in court Monday, and Judge Marsha Revel told the actress that in order to stay free on bail, she cannot drink alcohol and must wear an alcohol-monitoring SCRAM device and submit to random drug testing, TMZ reports.

Lohan must begin wearing the SCRAM bracelet within 24 hours and is required to attend all scheduled alcohol education classes.

Last week, Lohan was a no-show at her mandatory DUI progress report hearing because she was stuck in Cannes, France, claiming someone had stolen her passport. Judge Revel issued a warrant for Lohan's arrest, but the 23-year-old actress avoided arrest by posting $100,000 bail.