supposedly , the wall and the gate were enchanted , imbued with spells and other magic mumbo jumbo so that only people who were supposed to be at the academy-students , teachers , and the like-could pass through .