If you want a fully legal digital copy, check second-hand marketplaces for a physical cartridge—it works on any 3DS and doesn’t require custom firmware.