The two Harry Potter references in The Shakespeare Code are quaint now, but it's funny to imagine that the Doctor is a Time Lord, he's read all the books, and yet somehow missed the person that the author became not long after. I don't blame him tbh, nothing worth remembering after that.