In the lead-up to Russia’s invasion of Ukraine, most Western analysts saw Moscow as a great power and Kyiv as a lesser one.