Lohan pleaded not guilty Wednesday to a felony charge of stealing a $2,500 necklace, then received a stern warning from her new judge.

"You're in a different situation now with a felony," said Los Angeles Superior Court Judge Keith L. Schwartz, who threatened to send her straight to jail without bail if she violated the law while awaiting trial.

"You're no different than anyone else," he added. "So please, don't push your luck."

He asked her if she understood what he was saying.

"Yes, sir," she answered.

Lohan, 24, wore a skin-tight short white dress to her court appearance for allegedly walking off with the necklace Jan. 22 from a Venice, Calif., jewelry store just weeks after completing court-ordered rehab in a DUI case.

Lohan, who denies the theft and claims she thought she was allowed to borrow the jewelry, was given $40,000 bail for the theft charge and allegedly violating her probation in the DUI case.

No Handcuffs

The actress, who appeared healthy and calm, was led away – but not handcuffed – after the 10-minute hearing to be booked by%

via Judge to Lindsay Lohan: 'Don't Push Your Luck' - Crime & Courts, Lindsay Lohan : People.com.