the wizards were learning that while it was all very fine and impressive to have a set of gates that were locked by magic , it ought to have occurred to the builders to include some sort of emergency back-up device such as , for example , a pair of ordinary , unimpressive stout iron bolts .