Photodimerization of a 1D hydrogen-bonded zwitter-ionic lead(II) complex and its isomerization in solution.