Italy is the 4th in a string of recent decisions across the EU. (We're tracking these cases on isgoogleanalyticsillegal.com along with details for each.) Note that it's not illegal to use GA entirely, just illegal to use in its default state which transmits PII to the US.
That is an extremely important nuance which is not obvious from the title.
Google should be the one doing the compliance work. If Italy bans some usage pattern in GA, it's Google that should make it impossible to configure it in non-conformant way.