Why hasn’t the Russian economy tanked yet? Putin has been preparing for this moment for years

When Russia invaded Ukraine, countries around the world condemned the move, and abruptly cut economic, business and diplomatic ties.

Over 1,000 companies—from American to European and Japanese firms—abandoned their business operations in Russia. Western nations booted Russia from SWIFT—the international payments system that moves money around the world—and froze Russia’s central bank assets, barring it from accessing its $630 billion foreign reserve stash.

Economists and world leaders believed that combined, the economic impact on the country relegate it to an economic pariah, ensure losses in the billions and perhaps even lead to a wholesale collapse of the country's financial system.

But that’s not quite how it worked out.

Across Russia, signs have emerged that the country is adapting to global economic isolation better than most people anticipated.

Russian businessmen have gobbled up western companies’ operations, like Siberian billionaire Alexander Govor’s purchase of McDonald’s 850 outlets across the country. Russian property developers, like MR Group are opening new shopping malls—simply sans western brands like H&M, Nike and Starbucks.

And despite becoming the world's most sanctioned nation in the world, Russia’s economy hasn't tanked. Russian President Vladimir Putin had began preparing the country years ago to endure western financial pressure by shoring up its currency reserves and befriending China. And in a stroke of luck, the Kremlin’s coffers are bursting because oil prices have skyrocketed, stabilizing the ruble.

The economy is staying afloat for now. But as the war drags on, cracks are beginning to show as Russia stares down its worst recession in 30 years, faces a looming EU oil embargo and grapples with a growing number of citizens pushed into poverty.

Customers queue up to try the Russian version of a former <a href=&quot;https://fortune.com/company/mcdonalds&quot; target=&quot;_blank&quot;>McDonald's</a> restaurant in Moscow on June 13, 2022
Customers stand in a queue to get in the Russian version of a former McDonald's restaurant next day after its opening ceremony in Moscow on June 13, 2022. Former McDonald's restaurants in Russia have been renamed "Vkusno i tochka" ("Delicious. Full Stop"), the new owner said ahead of their grand re-opening .

Stockpiling and rallies 

After Russia's invasion of Crimea in 2014, Putin began preparing the country's economy to endure western sanctions. He stockpiled foreign currencies, reduced Russia's dollar dependency and pivoted to a stronger partnership with China.

When Russia invaded Ukraine in February of this year, it did so with large currency reserves and minimal public debt.

In the weeks following the invasion, western nations pummelled Russia with harsh, unprecedented sanctions, restricting Russia’s access to the global financial system. In response, Russia barred citizens from transferring money to bank accounts abroad to prevent capital outflow, while the central bank imposed a 20% emergency interest rate hike as the ruble tumbled to record lows. Those “timely and strong” moves allowed the country to stave off a "full scale financial crisis," Laura Solanko, senior advisor at The Bank of Finland Institute for Emerging Economies in Transition (BOFIT), an organization that researches emerging economies, told Fortune.