These are din rail block, presumably made by Wago. My 1978
boat came with DIN rail blocks, and I am in the process replacing them with a new rail and blocks. DIN rail is a really great system, with virtually unlimited choices and configurations. It took me awhile to figure it all out, for this reason. The great feature is that adding and changing this is relatively easy.
I would not tear them out.
They are commonly seen on european boats, and more often on AC systems then DC.
As part of my panel/distribution re-do, the AC/DC panel is going away. In it's place will be a combination of digital switching and DIN rail breakers. All Din rail breakers for the AC side, and both digital and din rail breakers on the DC side. I can share some photos later, but it is still kind of a mess.
Chris