The thing is, nothing less than a major defeat that really shakes up the major foundations of the Russian politics + a marshall style help plan from the west in exchange for increased reforms and democratic freedoms in Russia will get rid of the imperial mindset, which only increases the risk of a major confrontation between Russia and the west in the future, or an invasion into another non-NATO country in the future, or even Ukraine again. It does sound risky, but I have almost come to the conclusion that in order to prevent a nucelar war instigated by a confronation between Russia (note: Only Russia, China and NK, Pakistan and India is another story) and the west something like that is needed. If such a defeat does happen to Russia, even the option of using nukes won't be avaliable since at that point even executing the command itself will be impossible due to multiple factions in the military and the total weaking of Russia's state institutions and authorities. And if the defeat is much smaller, Putin or his successor can just say "Well they got us this time, but now we have to increase the totalitarian turn in this country to make sure each and every citizen is commited to the safeguarding of our nation to make sure we won't lose the next time".