It is basically impossible to have anonymized social media data that cannot be deanonymized which is also useful for anything but a very narrow kind of research.
That's not at all true. This has nothing to do with the government. It's a court ruling on a law passed by parliament. In no way was the opinion/side of government at play here.