He wasn't saying it wouldn't be. He was saying that even in an abusive fishing expedition in which prosecutors believed that the evidence generated would be excluded by a semi-competent defense attorney, the prosecution still profits by generating information that helps the rest of the investigation.
It was a point about game theory, not about law.