A protracted war looks probable, if not inevitable. The situation bears similarities to the one in Afghanistan during Russia’s war there in the 1980s. An American-led alliance sent endless weapons to the mujahideen who managed to bog down and exhaust the invading Soviet soldiers.

Thanks to the crisis, a brain-dead NATO has revived. In February Germany’s chancellor, Olaf Scholz, created a special 100bn ($105bn) fund for defence and announced that his country would spend 2% of its GDP on defence every year—a NATO guideline. It will beef up the alliance and bolster the idea of European “strategic autonomy” (little more than a French slogan until now).

The irony is that the more popular NATO becomes, the more insecure Europe will be. If Finland joins NATO, as looks likely, the alliance’s troops would be a stone’s throw from St Petersburg. The Kremlin has warned that such a move would end the “non-nuclear status of the Baltic Sea”. This could be a bluff. But who knows? If NATO’s worst fear is that Russia might launch a tactical nuclear attack, then why keep poking Mr Putin in the eyes? Europe’s security, now as in the past, can only be achieved with Russia’s co-operation.

In recent months speculation abounded that Beijing and Moscow’s “unlimited” partnership—announced during Mr Putin’s visit to China in February for the Winter Olympics—might usher in a military alliance. But the war in Ukraine has inadvertently proved that Beijing and Moscow’s rapprochement is not an alliance. China didn’t provide military assistance to Russia. Instead it provided humanitarian aid and money to Ukraine twice, including food and sleeping bags, and has pledged to continue to “play a constructive role”.

One reason behind the Sino-Russian non-alliance is that it allows a comfortable flexibility between two partners. And in spite of the fact that China and Russia both call for a multipolar world, a non-alliance suits them because they see such a world differently. Mr Putin’s Russia is nostalgic for the heyday of the Soviet empire. (He lamented its demise as “the greatest geopolitical catastrophe” of the 20th century.) Russia sees itself as a victim of the existing international order. By contrast China is the largest beneficiary of the rules and regulations of global commerce and finance made by the West after the second world war. China has a huge stake in safeguarding the existing international order. This is why, despite ideological differences and even tensions sometimes, China has at least maintained robust economic ties with the West. Neither side wishes to sever them.