Russia’s Foreign Ministry vowed that it would respond to what it called the German government’s “anti-Russian action.”