That isn't enough, who pushes code and repos location is also relevant.
Are you proposing forks of existing languages but in gitlab, and only european can approve PRs? Or a new language and OS? How does that work in practice when open source is public and users can have VPNs?
Yep, security and digital sovereignty required control of the whole chain.