Essentially nothing happens - game should be fine. Hacked Pokemon isn't really a concern vast majority of cases, it's more if you put in codes in your game... so you'll be fine. You can keep it or release it, up to you - only thing is you wouldn't be allowed to use it in battles against people unless they don't mind hacked Pokemon. =P
Going to close then - any other questions please ask them in the Help thread.