It's based on the Russian paranoia (justified, perhaps) of a land invasion. They wanted to make sure that, if nothing else, the enemy's logistics would be hampered by them not selecting standard gauge for their railways.
That's actually a myth, if you read THIS
article, scroll down to "Reasons for the Different Railroad Gauges in Russia".













