Of course, that is an edge case which Google would need to figure out and perhaps, one of the many reasons they haven't done it.
How do you figure out legality of having a document from the document? Unless it's child porn, where it's implicit, this simply isn't computable.