Circumventing DRM for archiving is not totally legal in all circumstances: https://www.reddit.com/r/emulation/comments/9rfezi/us_copyright_office_gives_the_okay_to_circumvent/
I know, it's a reddit link, but OP does a good job summarizing and providing sources.
Anyway, videogames are specifically called out. Essentially, if you're circumventing DRM for emulation for games that are still current and actively supported by their publishers/devs, it is not legal. However, if you're circumventing DRM to repair/troubleshoot/diagnose your console, that's kosher (whole right-to-repair stance). So it isn't completely black and white. Yuzu devs will have a tough case ahead of them depending on what all evidence Nintendo has gathered.