McGregor accused of sexual assault at Dublin court hearing