Feeding a 12V solenoid 18V for a short while ain't a problem. Feeding a 24V solenoid 18V can give a lack of power, failing operation.