Musk intends to appeal the verdict, according to his lawyer.