Don't be afraid to show your fangs.
The villager on the Mystery Island won't look like the villager you selected in the cheat. Talk to them, you will notice they have the name of the villager you want. Just go ahead and invite them.
You have to login first to generate cheat code