Before doing stuff like this, I suggest making a NAND Backup:
https://3ds.hacks.guide/godmode9-usage.html
These backups completely save a 3DS's current state, so that
if something doesn't go as planned, you could always restore the backup, and everything will be as it was.