For the DACs built into these integrated amplifiers, the output of the TOSLINK was nearly identical to the output of the COAX. (I left the COAX cable unplugged during the test with TOSLINK, just in case.) Thus, the deterioration in THD+N was not due to electrical noise.
@amirm , could you check...