Patrick J. Carnes said this quote

By the Middles Ages it was a sin to have sex with a child. If an adult were guilty of such a sin, one remedy was to declare the child a witch. The child thus became an offender who beguiled the adult with the power of the Evil One. Understanding this process puts a new light on the burning of witches. A Catholic bishop in Wurttemberg in the seventeenth century writes, for example, of his sadness at having presided over the burning of three hundred young girls that year and of his wonder if the church were making a mistake.