The radial electric field in the Wendelstein 7-X stellarator is computed by means of self-consistent, global, neoclassical simulations using the gyrokinetic particle-in-cell code EUTERPE. The simulation results are compared with local predictions obtained from a transport code using locally computed neoclassical transport coefficients. The analysis focuses on ion-electron-root transitions and investigates their dependence on collisionality, normalised ion gyroradius, and the electron-ion temperature ratio. Several of the results cannot be reproduced using conventional, local neoclassical transport theory. An approximate criterion for root transitions is derived, which results in an analytical scaling law that is useful for understanding how the position of the transition layer varies with plasma parameters.