It's important not to confuse the various Proton services. Proton Mail is considered to be a communication service, and in most countries (including Switzerland), communication services are regulated to some extent. Privacy isn't a blank check to break the law with impunity, and all companies need to comply with the local law.
That being said, Swiss law is very restrictive, and there are a lot of hurdles that one needs to jump through to get a court order. And even with a court order (and has been proved multiple times in court), there is no way to break Proton Mail's encryption. Privacy is not the same as anonymity, and due to the way the internet works, if anonymity is what you are going after, you have to exercise proper infosec and take preventive measures, such as using Tor or VPN.
Under Swiss law, the treatment of VPNs is different. So VPNs can indeed be no-logs. No-logs VPN, is also possible in other countries as well. What makes Switzerland different, and possibly unique, is that within the current Swiss legal framework, Proton VPN also does not have forced logging obligations. So, a no-logs US VPN could for instance, get a NSL (National Security Letter) to start logging particular users, but that's not possible in Switzerland. In addition to that, VPN is mostly impossible for law enforcement to ask for something reasonable, as there's no "identity" for the traffic going out of our server. There's practically no chance of law enforcement to know what account to ask for.
Finally, it's worth noting that in October 2021 (after the case you mentioned), Proton won in court against the Swiss government and as a result, email services cannot be considered telecommunications providers, and consequently are not subject to the data retention requirements imposed on telecommunications providers. You can find more details here: https://proton.me/blog/court-strengthens-email-privacy.