For Russia, in the against you should add that they mostly owned the pipeline, they could have switch it off without destroying it and destroying it means not being able to use it to sell oil to Western europe against. I can't see any way it would make sense to them, even accounting bad calculation like the Ukraine invasion.