Despite several Imperial bans, magic and astrology persisted among all social classes