Once the government switched to Linux en-masse, Microsoft will have no leverage whatsoever, no solution they can possibly propose will beat free software.
LibreOffice is totally adequate for most government jobs.
And, IIRC, it's just a trial to see if it will work.
Edit: I should have read the article linked in a comment above...
"As spotted by The Document Foundation, the government has apparently finished its pilot run of LibreOffice and is now announcing plans to expand to more open source offerings."
"In 2021, the state government announced plans to move 25,000 computers to LibreOffice by 2026. At the time, Schleswig-Holstein said it had already been testing LibreOffice for two years."
So, it seems the trial may be over and they are migrating for good.
Back in 2000, there was something like that for the kernel with SELinux (Security-Enhanced Linux). Which continues to live in various distributions' kernels. Not a full O/S though, and not generally regarded as a PoS.
I always found it to be a real PITA... It felt like a parallel system to file permissions, which meant I had two things to configure instead of one and I never really saw the purpose. It seemed like it could be more granular than the default, but if it did anything more than that I never learned about it
Granted, I'm a dev, not an admin. I go back and configure the firewall after I shut it off because it was in my way... Eventually
Even if libre office didn't offer those features, I'd be willing to bet the gov could donate 1/100 what they pay Microsoft in a year to have them implemented.
France is here a better example. The Gendarmerie has its own distribution based on Ubuntu called GendBuntu. The state developed Tchap, a messaging system based on matrix. And many are looking to Linux to simply cut the cost like the french army.
Side note: The app Fedilab has its package name based on the french government open source projects (fr.gouv.etalab.mastodon).
Sure, and being forced to redo it is probably a good thing in the long run.
Maybe they'll get a developer to build it into a reusable product instead of relying on Jim in accounting to fix the macros to get it working after an update. Or maybe they'll realize they could get the same result with a pivot table and clever formulas.
Unfortunately, LibreOffice is still garbage. Microsoft it miles ahead in its apps compared to the Linux equivalent. There isn't even a good OneNote alternative on Linux.