Imagine getting punished for something that wasn't forbidden at the time you did it.