UPDATE 10:10PM PDT: TMZ has learned that Lindsay's favorite bondsman has posted her bail. She can now leave the Lynwood jail as soon as she can get a ride.
UPDATE 6:02PM PDT: Lindsay will have to get a SCRAM bracelet (this will be her third) within 24 hours -- and under the terms of her bail, she is not allowed to be around known drug users ... and must submit to search by law enforcement at any time. Also, nightclubs will be a major no-no ... Linds has to stay out of places where alcohol is the "chief item of sale."
Lindsay Lohan will be a free woman soon, because a judge has just reversed Judge Elden Fox's decision and has granted LiLo bail ... TMZ has learned.
Judge Fox ruled earlier today ... Lindsay could be held without bail. But apparently the Judge's ruling flies in the face of California law, which gives defendants the right to bail in misdemeanor cases.
Judge Patricia Schnegg, Assistant Supervising Judge for the L.A. County Criminal Courts, just threw Judge Fox's bail decision out the window. Judge Schnegg has set bail at $300,000.
Lindsay, who is in Lynwood Jail right now, should get out soon ... probably in a few hours.