What is the role of this Zener diode in a LED string? (Old traffic light restoration)

Only if a ridiculously small transformer would be used. This is not a concern in practice given the current levels we're talking about here.