I assume that the repository of books was used as training data, but not by way of the annas-archive domain. Instead, it would make a lot more sense for them to download the whole pile via bittorrent, which has nothing at all to do with the domain. In other words, the legal solution here wouldn't have prevented the problem.