So the moral issue is twofold: first, on the question of idolatry, that it is sinful to eat food offered to an idol if you think an idol represents a real divine or demonic entity, but not sinful if you know there is no such thing as a secondary divinity or demon.