I don't think that's the case. At least, what allows libraries in the US is the "first-sale doctrine." From https://en.wikipedia.org/wiki/First-sale_doctrine , "The doctrine enables the distribution chain of copyrighted products, library lending, giving, video rentals and secondary markets for copyrighted works (for example, enabling individuals to sell their legally purchased books or CDs to others)."
Something similar is why I can place an ad to sell my used Mac without violating Apple's trademark.
I assume Sweden (and the EU) have something similar. If not, that makes second-hand book, magazine, or any product sales rather difficult.