It would be an interesting case in court, to say the least.
"I copied this entirely by myself." vs. "You downloaded this."
I don't know how they could actually prove one way or the other... Any ideas? Maybe if you left the ebook site in your history... But even then, it's not conclusive. "Oh, I just found that website one time... What? It's illegal?"