loophole
n.
also loop-hole, mid-15c., from Middle English loupe "opening in a wall" for shooting through or admitting light (c.1300), perhaps related to Middle Dutch lupen "to watch, peer;" + hole, n.. Figurative sense of "outlet, means of escape" is from 1660s.