For example

The bill was passed into law, and was decided that it was to apply ex post facto.