Five days before oral arguments at California’s 2nd District Court of Appeal, Glyn Lewis knew he was in trouble.

Lewis’ client had won a suit seeking money she’d spent to buy a business that sold fake designer handbags, and the seller was appealing. The 2nd District had asked Lewis’ firm to explain why the court shouldn’t reverse the judgment on the basis that a contract for an illegal business was unenforceable.