I'm not too sure to tell the truth =P as long as the PID was generated legitimately in Emerald then it's considered legitimate. So technically, people could RNG the Chansey in Emerald, then migrate it over and pokésav Wish onto it and it would be considered legit, as Legal.exe doesn't take into account the moveset of the poké