If I’m understanding correctly, that sounds like what Canada did recently and Google did eventually come to an agreement with the government
Canada, Australia, Germany, Denmark… Same thing happened in Spain in 2014 already:
https://en.m.wikipedia.org/wiki/Spanish_Newspaper_Publishers'_Association
Google cut out all Spanish news sources in 2014, until they came back crying in 2022: