In one instance they gave up the IP address of an email user to law enforcement (with a warrant I believe).
They swiftly went on to win a court ruling that would prevent this specific situation from repeating. https://proton.me/blog/court-strengthens-email-privacy