At a guess the law gets applied as it was at the time of the incident. That's what they do in our courts, hence you get some very odd sentences in historical cases, as they can only use the sentencing guidelines from the time of the crime.
If you bin the Euro court for any cases in progress...