This kind of Piracy (not to be confused with the whole ship plundering one) is not a crime in most of the World, rather it’s a Civil Law affair, so roughly in the same basket as breach-of-contract.
I suspect the whole “illegal content” stuff is about things like child porn or bomb making instructions, not breach of copyright.