I don't know the rationale that a lawyer would use to not count it as distribution, but I would be shocked if there isn't one.Odd analogy alert!
Suppose you are an ISP and you discover one of your clients is hosting a child porn site. If you were compelled to turn over the images as evidence, you're clearly not "distributing" them in any meaningful sense.