Moscow says it will be forced to act if Western powers do not stop military cooperation with Russia's neighbors.