Playing by the book it's an easy, open and shut case that he loses very badly badly. No other conceivable outcome that way.
His only option is to throw the book out and create as much chaos as possible so prosecutors are faced with the unusual and novel and make mistakes his team can capitalise on.
It's a long shot, sure. He's got nothing else. This lunacy is all 100% rational behaviour on his part.