The government is funded by tax to serve the whole public. If the gov must spend public money on software that the public will execute, the software is inherently created from involuntary contributions. Therefore the government has a duty in the very least to ensure that the software gives maximum utility and value back to the public who funded its creation.
So new rule: Gov-distributed updatable software must grant the four freedoms to the public.
JavaScript counts
When a website pushes JS to your browser that you must execute for the site to function, it’s not a document. It’s an application. And if it comes from the government, it must be FOSS.
Browsers count
If the government is going to put public resources on the web, the government has a duty to some extent to equip the public to use it. A service that demands people use commercial software is bundling and illegaly circumvents this new rule. Therefore the gov. must ensure that a FOSS toolchain exists by which their resource is accessible. If they merely direct/suggest use of Firefox, that’s fair enough so long as the gov ensures their web app is always compatible with FF and the gov picks up the ball to maintain FF should Mozilla fall.
Phone apps count
The gov. shall not put a non-FOSS app on Google Playstore because it’s an abuse of public money. The phone app must be FOSS and must be accessible to all people including those without Google accounts (which needlessly requires mobile phone service).
Social phones
The FCC in the US provides discounted phones to low-income households through a “Lifeline” program. The discount shall only be available on the purchase of 100% FOSS phones, or dumb phones (where the software is not updatable). If no 100% FOSS phones exist, the government must do the necessary to make one available. If the cost of a FOSS phone defeats the effect of the Lifeline, it’s on the gov to fix that by introducing a cheaper FOSS phone or increasing the subsidy.
Italy is the only wise adopter
Italy has a “public money → public code” law. AFAIK, no other country has been so wise. Though Italy is still too relaxed. All code efforts financed by public money must have published code, but the gov can alternatively use public money to buy licenses on existing proprietary COTS software. So Italy has not progressed enough.