It (at least it's supposed to) applies for everyone, but the only thing that the officials can do to people who break it is denounce them, so it doesn't work on terrorists.
Answer: The Germans weren't liked during WWI, because they were the blame for the start of WWI
Russia maintained successful relations with long-time allies, and struggled to modernize