If you want to be safe. Trade pokemon from sw2 to cfw switch. Use things like rare candy to lvl. And trade back. This also makes your pokemon obey you when you want to fight with them because sw2 is the OG trainer. And they are 100% legal.
And if you know what you are doing. You can save...