Conor McGregor appears in court on motoring charges