It's about multiplayer but single-player

I was playing quietly until I got curious and decided to experiment a bit with the Citra emulator and I wanted to trade Pokémon with myself but it turns out that I can’t because there is an N3DS ID so it wouldn’t let me be on the same server for that ID, I was about to change it in one of the two windows but I wanted to know what this affects? could it be bad? Is it even possible to do what I’m trying to do? is it legal? will I go to prison? in short, they are doubts that arose

Refer to the answer I gave here: Pokemon Trading - #3 by SleepingSnake