Even if the specific image being infringed were not in the corpus, it's possible that a court would return a judgment of copyright infringement.
Consider the case where someone deliberately prompts the AI to build a facsimile image and the AI does a creditable job after some tweaking.