The issue here is that we have a frequent use of the word “investigation”, referring to two types of investigations. We just need to be precise.
Perhaps it would be, “if, in the agency's opinion”, as a start to the subamendment followed by “and in consultation with the agency leading the criminal investigation”. Then I refer to the committee to work out the exact reference between the two mentions of criminal investigation.