Theories explain reality. They're not blueprints. Purely nationalist forces could have won in Russia and China and they would have been faced with the same problems (and were in many other countries that got rolled by imperialism). Throughout this you are conflating economics and politics.