the christian theory was that such gods did not exist , and were inventions of the devil , and that the power of idols was due to the fact that he , or one of his emissaries , often actually inhabited them , and could be seen in their real hideousness if the veil of illusion was removed .