One thing one discovers about Shakespeare: whatever subject he touched, everyone believes he had an expert level of knowledge in it.
Ovid - master of his work.
Lawyer - clearly trained.
Court politics - must have been a participant
Sailor - knew his full fathom five from his scuttle-butt
and on and on.
This wasn't an ordinary kind of brain.