So no "permission" to release would be necessary if government's modified ther copyright laws to withdraw their granted protections after some "event" occurred.
The bigger problem is not the permission, it is actually finding the code so it could be 'released' once the event triggered. To make this work would require some form of required escrow in order to gain copyright protection in the first place where the code would be held until such time as the removal of copyright protection from it triggered, and then it could be released.