Reminder to all that barring access to internal docs, use of internal software/firmware components and information obtained through nefarious means, emulation is 100% legal pretty much everywhere in the world.
Edit: of course there's the gray area of scrapers, game downloaders etc... but those are not emulators.
but also: distribution is often not legal