They could defend, but there is significant precedent to allow decompilation and reverse engineering and even Nintendo won’t go after projects that decompile code, but don’t include original artwork or audio (hence the need to supply your own copy of the game for this port).