Russia’s economy has managed to avoid collapse despite punishing Western sanctions after the full-scale invasion of Ukraine.