Consulting with the Quran isn’t the same as consulting with astrologists in his mind. It is just dutiful, insane zealotry. Perfectly logical if you’re stuck in the 4th century.
Would the Queeran disapprove of talking to Eleanor Roosevelt’s ghost?