in the case where they receive a court order, they first log your IP and then they give it.
but you know this from their terms of service.
if you stop using protonmail when you start your criminal career, they will not give your IP because they didn't save it.
it's different in the end, not the same.