https://protonmail.com/blog/protonmail-threat-model/
> The Internet is generally not anonymous, and if you are breaking Swiss law, a law-abiding company such as ProtonMail can be legally compelled to log your IP address.
The "Threat Model" blog post is linked from their main site.