Governments should not enforce international trade agreements on the off-chance that someone somewhere might have an epiphany while installing illegal software? No.
I would appreciate if you provide a definition of illegal that doesn't amount to "prohibited by law". In this case, the set of laws that are placed in order to protect international trade agreements.