I honestly think every country should do this. at least make them sign an agreement stating they will not advocate for hate or violence against residents of the nation or face deportation.
Edit by this I don’t mean copy russian values and their definition of allegiance but rather something consistent with the nations values
It's actually better than what I expected from them. I thought their "loyalty agreement" was actually modern slavery/serfdom.
EDIT: wow i never expected that people would be upset that russia is not forcing immigrants into serfdom. wtf tankies.