It's not hard to imagine a situation arising in which a seat becomes vacant before the bill gets royal assent, but the actual by-election is held after the date on which royal assent occurs. This is all within the 42nd Parliament, obviously.
In such a situation, does the new rule apply?