See Kim Kardashian Behind Bars on Drop Dead Diva!

Kim Kardashian guest stars on an all-new episode of Drop Dead Diva, airing Sunday, August 26, at 9pm on Lifetime. Credit: Annette Brown

Kim Kardashian makes being bad look oh so good.

In an upcoming episode of Lifetime's scripted series Drop Dead Diva, Kardashian's character -- relationship expert Nikki LePree -- spends time behind bars. Wearing an orange jumpsuit, Kardashian, 31, ends up in the clink because Stacy Pakery (April Bowlby) has too many parking tickets.

During Kardashian's most recent appearance on Drop Dead Diva, her character swindled Stacy's savings and skipped town. According to series regular Brooke Elliott, the E! reality star was a total pro on set.

"She knew her lines; she came very prepared," the actress told Us Weekly in June. "She was very kind and low-maintenance."

Though Kardashian has never done hard time, her younger sister, Khloe Kardashian-Odom spent 173 minutes in jail in July 2008. She was released early from her 30-day DUI sentence due to overcrowding.