That's should be illegal. They used the excuse it was there to take or just burnt evidence literally of pirated books.
What they are doing is implicitly changing the contract of usage of their services.