I hate to say it, but you most likely are.
It may not just be for Sun and Moon either, remember they said "any unauthorized game code", this would include any installed titles that either are unavailable in your region, are homebrew, romhacks, etc.
@DashAhead
This is my first ban, but I did contact Nintendo about this, and the rep on the phone said it's perminant and quoted the following:
"As a result of a number of
Nintendo 3DS users using unauthorized versions of several games,
and connecting to the official game servers in violation of our terms of service,
these users’ Nintendo 3DS systems that stored the unauthorized game code have been
banned from Nintendo’s online network effective immediately."
They state "several games" this isn't limited to Pokemon. This extends to any installed title that's not legally bought. This could also extend to Homebrew Launcher and any homebrew .CIA INCLUDING FBI