the wards that prevent mundanes from being able to enter or even detect idris cause the whole country to exist in a `` magical cage '' that prevents machinery from working reliably within its borders .