Russia doesn't really need diplomatic ties with the West, former president and top security official Dmitry Medvedev said on Saturday, after the West imposed sanctions on Moscow over what he called Russia's military operation in Ukraine.

Medvedev, writing on social media, said it was time to "padlock the embassies."

He said Moscow would continue its operation in Ukraine until it achieved goals defined by President Vladimir Putin.

Medvedev made the comments on his verified page on Russian social network VK.