Much of the material on LibGen would be legally accessible under the copyright terms in which it was originally published, but that their exclusivity has been retroactively extended.
Meh, as long as their servers aren't in those countries, they can't do anything except censor the website. And most countries with long copyright terms don't censor websites.