TMZ was in court moments ago when Nicole Richie's lawyer Shawn Chapman Holley announced her client will try and beat the rap. A trial date was set for July 11.
Richie was arrested last December after she was driving the wrong way on an L.A. freeway. Cops say she confessed that she had been smoking pot and had taken Vicodin.
The stakes are high for Richie. She has a prior DUI and if she's convicted this time around she faces a minimum 5 days in the pokey. Worst case scenario for Richie -- one year in the slammer.