Conor McGregor leaves court