Nintendo, while aggressively litigious, do so to maintain the value and exclusivity of their IP.
Their games also never go on sale, and all sell really well over time, unlike many releases from other publishers.
The result is that Nintendo are able to release a solid cadence of high quality, first party games free of other forms of aggressive monetisation, maintaining the value of the games as art.
This would only make sense if Nintendo’s legal actions either actually prevented emulation or piracy of their games or recouped the lost revenue (lol).
But they don’t you can still emulate the switch and still get games for it (which was never a grey area unlike emulators). You could do for most of it’s lifetime. You could also pirate on original HW, sometimes without HW modification at all.
Emulators have existed and still exist for older nintendo systems and you can still get old nintendo games despite decades of nintendo’s legal efforts, just like you can get pirated movies or music despite decades of legal efforts…