I have recently experienced, for the first time, reverse gear on a Lambretta

I was just out and about on a long evening trip and stopped for a break. On restarting the engine felt like it was struggling to pick up properly, a bit like if it is flooded and you think it will clear up. Don't know if that is relevant after all piston goes up/down regardless of direction of crank. Maybe un-natural rotation of sprockets chain gearbox made it feel odd. Then into 1st, clutch out and.... wtf!!! It went backwards. It is actually the 2nd time it has done it, I should have remembered the way the engine started the 1st time and known what was going to happen the 2nd time it did it. There was a few good miles between occurrences. Separate trips. On stopping and restarting it to get it going in the right direction it ran fine, a good 40-50 miles home.
My immediate thought was timing. I've had a look through some posts here and elsewhere to read up.
So far... I have had the flywheel off and checked woodruff key = OK.
Stator plate hasn't moved, but then it's running an external pick up so wouldn't affect it anyway.
External pick up hasn't moved. Trigger on flywheel is OK.
Spark plug gap was a bit big if I'm being really fussy. 0.48mm gauge was a bit loose so I closed it up so tight.
Reassembled and strobed it and timing is still where I set it when I built it about 2,000 miles ago. 17deg.
RT195, scootronics stator, external pick up.
Any thoughts? Was it a case of things just being so aligned that it was going to happen? Twice?
Thanks. Nigel.