The plea deal was reached shortly before Rihanna, 21, was due to testify under subpoena in a preliminary hearing. While both parties were in court, they were never present at the same time Photo: © Getty Images