The war in Ukraine has undermined Russia’s capacity to project power and looks set to redefine its role in the Black Sea and the Mediterranean.