The devil made me do it.
The book in question was not official Catholic doctrine and indeed was denounced by a Church council and the Inquisition.
However, it was widely popular in secular courts of both Catholic and Protestant countries for over a century.