Emulators are not illegal. Playing ROMs with them emulators however are. That's the issue at hand. Nintendo saw a Nokia employee in an official Nokia sponsored Youtube video playing a Nintendo game on the emulator. Had the Nokia employee been playing some homebrew on the emulator then Nintendo would have no grounds (though they like to say that they do but in law they do not).