It seems that they were compelled by Swiss authorities to start logging a particular user (i.e., logging their IPs which were not logged by default). ProtonMail seems like a very bad actor in that case. Even if they must have to obey that order, they could have prevented the user explicitly before doing so.