legality of the datacenters aside, I wonder why countries don't at least demand that they're totally carbon neutral or free. it's possible today. it's not like it's sci-fi.
In Europe this is covered by the emission trading system (EU ETS) and datacenters have to share the same shrinking emissions quota as other industries.
An alternative is what Google is theoretically aiming for: being carbon-free. But they've already started using language describing it as a moonshot or idealistic goal so seems likely they'll abandon that
https://sustainability.google/reports/247-carbon-free-energy...