I know, there is a lot of debate ongoing between the opponents. But you have one big rock around your neck:
UBS
And Im pretty sure, somewhen in the future, a bailout will be required - and this could be done then only with EZB, as SNB is too small, and you will "happily" join. (and in that moment, there wont be any "international" white knights from abroad other than the EU/EZB, so you will be on board ;-)
By geoblocking users in France, they've probably blocked at least 95% of French users from being able to access their services, if not closer to 99%. By not having any nexus in France, it does reduce their exposure. Yes, Switzerland and France might cooperate on things, but going after Quad9 via Switzerland would involve convincing Swiss authorities that a) France is correct enough that Switzerland should want to comply, b) the steps Quad9 has taken aren't enough, c) France should get to enforce this against a company that's completely extra-territorial.
Yes, Switzerland could still side with France, but it definitely makes France's job a lot harder. Even within a country, people often "forum shop" for a district or judge they think will be more favorable. Forcing France to get the Swiss to agree means getting a second party to also be so strict (or want to cave for diplomatic reasons).
As you say, it's definitely not clear cut. It does make it harder. It does reduce their risk. It makes it more likely that France will just declare victory and move on. Sometimes it's about making it not worth the fight. Would a French prosecutor's career be better served trying to get Switzerland to agree to essentially enforce French law worldwide against a non-profit? Especially when they are geoblocking most French users already - basically complying with the ruling as much as technology realistically allows? I think they'd probably find that their efforts would be better spent elsewhere. If Quad9 were still serving DNS queries from France, a prosecutor would have a much stronger reason to go after them in Switzerland. At this point, it just feels like a prosecutor would see it as a waste of time - like worrying about the cost of an array offset in a loop when you're doing a network call every loop, the network call's cost is just going to be so much greater and you should be spending your time on what matters. That said, people aren't always rational.
It doesn't get them in the clear for certain, but I think it does reduce the risk substantially.
In the case of DNS, if you must customise by country it is probably not viable. So IMHO a unique global DNS service ultimately only "works" if countries don't care about it. As soon as they care the s hits the fan.