premise: The erotica is probably best explained, however, along with Nepal's ubiquitous Shiva lingams (phalluses) and the female yoni symbols, as an expression of the creative energy in male-female relations and the pleasure principles of Tantrism.
hypothesis: The erotica took over a century to write.