To protect yourself from nintendo issuing a ban on you, put this as your 3ds's background:
(All joking aside, to truly protect yourself from a ban, get another 3ds to hack and keep the friendcodeseed safe. Then, if you get banned, you can just switch the friendcodeseeds. That's what I have set up in case I get banned, which I haven't yet and I'm using unofficial .cia files while connected to internet and all that jazz. Just have a back up plan, and don't worry so much about it. Pokemon't the only game to care about the online parts of anyway imho.)
(All joking aside, to truly protect yourself from a ban, get another 3ds to hack and keep the friendcodeseed safe. Then, if you get banned, you can just switch the friendcodeseeds. That's what I have set up in case I get banned, which I haven't yet and I'm using unofficial .cia files while connected to internet and all that jazz. Just have a back up plan, and don't worry so much about it. Pokemon't the only game to care about the online parts of anyway imho.)