The department wants federal judges to reinstate the Defense Secretary’s ability to revoke the agreements.