In a legal sense, downloading ROMs from the internet is technically piracy and, therefore, illegal. This is illegal even if you already own a legal copy. Especially if you are using them to access games on your Wii U that you haven't paid for. On the other hand, downloading and running emulators is not illegal.