The DC Circuit Court of Appeals held last August that FOIA waivers in plea agreements are unenforceable as a matter of public policy. As the Court recognized, sometimes FOIA is the last best option for criminal defendants to obtain proof that their convictions or sentences are unconstitutional due to ineffective assistance of counsel. FOIA provides them the opportunity to possibly obtain evidence to advance any such claims.
The opinion may be accessed here.