This relay circuit protects against accidental inversion of input polarity. The circuit was published in Radio Electronics magazine of October 1961. The relay is according to the input voltage.