This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
AGPL is a Copyleft license, so how can it be possible to use such library in an Apache licensed program? Isn’t the whole idea of Copyleft to make that impossible? To make sure that nobody can take away users freedoms?
I think what they meant on gnu.org is that you can use Apache licensed code in a GPL licensed program.
The combination of an Apache-licensed program and AGPLv3-licensed library is covered by both licenses, meaning that both need to be followed. This does not change the license of the program itself - the library could be replaced. Somebody could take away the users’ freedoms, but they would need to replace the library.
https://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL