Russia abandoned its empire in 1991. NATO enlargement to its borders started in 1997, after NATO destroyed Yugoslavia.
Russia has only started to object in 2007 when the inclusion of its immediate neighbors started.
Russia imploded in 1991. They didn’t abandon their imperialism at all, as their actions since have shown.