Influence of the diffuse layer overcharging or undercharging on the stability of charged interfaces: a restricted grand canonical Monte Carlo study.