Yes. The illegal nature is due to the fact the pictures were held in a catalog. Use by members of the public (such as through the medium of social media) is legal.
Outside of Sweden, I come to understand, it isn't illegal to catalog the images either, this is exclusively a Swedish law.