The Internet Archive operates under DMCA (Digital Millennium Copyright Act) safe harbor provisions. They respond to takedown notices. If Nintendo or Sony sends a legal request to remove a ROM, The Internet Archive complies.
The Archive organizes its retro gaming content into several major sub-libraries to ensure long-term preservation: Console Living Room the internet archive roms free