Strong pyrrolic-N-Pd interactions boost the electrocatalytic hydrodechlorination reaction on palladium nanoparticles.