In principle I agree that it doesn't seem rational, but it could have been signal to Western Europe of the lengths they would go to if the West kept supporting Ukraine. The message would be delivered under cover of diplomacy and supported by blowing up a pipe line for which there was (still) one backup.