I'm not at all sure why you think that any sort of mixture makes it harder to protect. The world is protected, the code is protected. Changing part of the whole or even 99% of the whole does not exempt the rest.
As for enforceability, it's likely that if a court felt that there was a case to answer, they would take action to ensure that the code was available to that court, the same way as any sort of evidence or documentation can be brought to a court.
|