Thanks for the hints.
Welding would be the proper way, but I’m not able to do it.
After cleaning up the bars, I realized, that the pins are attached through a hole somehow. Maybe it would be sufficient to drive a kind of tapered pin through a hole in the bar, and/or solder it.
Yes, I think, I won’t paint it.