Looks like some fancy triple pole or maybe 6 pole relays.
You could probably do some nice layout automation with those, triggering the coil off an insulated rail, but you'd need to know if it was compatible with track voltages.
I suspect these were pricey relays new...