Nicole Richie From Court to the Hospital

11/18/2009 5:00 PM PST
Nicole Richie was telling the truth, the whole truth and nothing but the truth Monday in court when she said she wasn't feeling well -- because now she's holed up in a hospital, sick as a dog.

Richie ended up having pneumonia ... and is now being treated at Cedars-Sinai Medical Center in L.A., this according to her rep.

Richie's cough-filled testimony on Monday still did the job -- she was granted restraining orders against two paparazzi she claimed caused her to get into a car accident.