Hmmmmm.....
Just been looking on RAVE.
The 1999 and 2000/1 handbooks mention the need to do the 4 turns to the left first....and a lockout after 3 failed attempts
The 1997 and the 1999 Electrical Handbooks under the Security section make no mention of this first set of turns.....also mentions that you can have 5 attempts before being locked out for 10minutes...!!!
I think the answer is - Try not to let the battery go flat - replace the RF unit, get a good strong battery fitted, and if your going on hols - unlock the car, disconnect the battery, lock all the doors manually, then use the key to lock the drivers door....on return, unlock the drivers door on the key, reconnect the battery, do a resync by locking and unlocking using the fob buttons and key locking etc (or resync in the ignition as per the relevant year/handbook).....
If you have known battery issues, get a trickle solar charger..!!!