So you took another 3ds's friendseed or generated another one with your own 3ds somehow?
Just took the one from my O3DS.
It's 100% impossible for anyone to own a legit digital copy right now, so anyone playing the game online with a console-generated header (not a physical cart) must have pirated the game. So they banned anyone that pirated the game. How are they in the wrong?
Banned from playing the said content (i.e. pirated pokemon) sure, everything else? That's just extremely shortsighted from Nintendo and will result in legit users being impaired as well. How? By buying banned consoles on the second hand market without knowing it.
It's the X360 Live bans drama all over again. Countless legit buyers got scammed could it be through ebay, craigslist and so on. Banning hardware achieve nothing.
It doesn't discourage pirates (well you can't even access the eshop anymore so not like you can buy games can you?). All it does is forcing them to be more careful and impairing legit users. Something like a soft ban (i.e. pirated copies of moon/sun can only play with other pirates) would have been more efficient. You still protect legit users from pirates and keep the "legit" ecosystem clean yet without making thousands hardware units useless.