Maybe the design didn't work right and someone found that by using a
230V transformer it kind of worked?
You can but that's IMHO a pretty hokey design. The drop-out voltage isn't well defined and a lot of 120Hz ripple would be passed onto the rails.
The TL084 is designed for operation on up to +/-15V supplies. Using it as a comparator may not have been a very wise decision. Then there is the matter of potential phase reversal.
Quote page 9 "Most industry standard JFET input single, dual and quad op amps (e.g., LF156, LF351, LF353, LF411, LF412, OP-15, OP-16, OP-215, TL084) exhibit phase reversal at the output when the negative common mode limit at the input is exceeded".
It might be worth trying stable +/-15V supplies and a real comparator in there, unless the TL084 was an overvoltage limiter and not a trip-off circuit, in which case the use of an opamp would be required. If unsure sketch up the schematic and post it here. A photo of a reasonable hand-sketch is fine.