The former FBI director has a deadline of July 28 to mount his case for why the prosecution ought never to reach a jury.