A prosecutor with a book to sell mixed too many facts with her fiction, a 2nd District Court of Appeal panel ruled Thursday.

The three-justice panel said Santa Barbara County, Calif., Deputy District Attorney Joyce Dudley cannot prosecute People v. Haraguchi because her self-published crime novel, “Intoxicating Agent,” appears to borrow personal and factual details from the pending rape case against Massey Harushi Haraguchi.