The charge pump works with the diodes and capacitors network to provide ~3X the input voltage (so about 27V). However, the voltage is typically lower by about the cumulative amount of the diode’s forward voltage. The 1N5817 has a Vf of 0.45V so a total of 1.8V drop for about 25V for the actual voltage. Other diodes may have higher forward voltage (1N4148 has 1V) making them less effective for the job. They won’t break the circuit tho, I don’t think.