The common law is pretty clear about the impermissibility of ex post facto legislation and bills of attainder.
From the washingtonpost.com
How can a church that preaches the impermissibility of so many forms of consensual, adult sex simultaneously tolerate, ignore or cover up the sexual abuse of children by its own priests?