Courtroom drama leads to steamy encounter