Yes. As long as the trial started after coming into force, I don't think there would be any question. There might be some question if the trial started before coming into force but he wasn't sentenced until after coming into force. So there might be a gap, and that'll be for the courts to decide.
On June 5th, 2007. See this statement in context.