Serious poetry was studied; it was officially sanctioned, used to teach literary elements like iambic pentameter, rhymed couplets, metaphor and alliteration.
There's also the tired lessons about iambic pentameter and teachers wringing interpretations from cryptic stanzas, their students bewildered and chuckling.