When the electrons cross the junction, they drop from the higher energy level to the lower one, and the energy each electron loses when it drops takes the form of light to a large extent.
These pairs are difficult to break up, so any intruding electron, unable to displace an incumbent from a pair, must occupy a higher, vacant energy level within the superconductor in order to stay put.