Government Loses Brexit Vote Appeal