One theory is that the door was used to allow the devil to escape from the church. A widespread belief in the Middle Ages held that the Devil resided in an unbaptized child's soul; at the baptism, the Devil would be driven out of the child and had to be able to leave. Accordingly, a door was often built into the north wall for this purpose.