The player-piano rolls in the transmitter (aboard the ship) and receiver (in the torpedo) would be started at exactly the same moment, and would then stay synchronised after launch, providing a secure radio link from the ship to the torpedo.
This situation is compounded by the fact that the Soviets would retain the ability to launch such weapons from myriad missile launchers and torpedo tubes that would remain even if a ban were agreed upon.