Euclid preparation. XXXI. The effect of the variations in photometric passbands on photometric-redshift accuracy — arXiv2