Defending Against the Odds: How a Defendant’s AI Avatar Failed in a Legal Appeal