The judge asked if Rihanna would be attending the court with her partner