Experimental realization of the Ehrenberg-Siday thought experiment