The front courtesy light would intermittently stay on after entering the car, starting up and driving off (It is supposed to go off when the engine is started or 15 to 20 seconds after the doors are closed and the car is stationary with the engine off or immediately when the car is locked from the remote), or it would stay on when the car was locked from the remote.
I discovered that opening and slamming the front passenger door cured this problem, however it would return the next time the passenger door was opened and closed.
I suspected the cherry micro switch in the lock was sticking as I have encountered problems with switch on the rear door before (How to troubleshoot 99' Laguna Estate central locking).
I initially removed the door panel and looked under the membrane. The electric window mechanism obscures the lock and would have to be removed first to access the lock with any degree of ease. I therefore replaced the panel and concentrated on the visible parts of the lock mechanism on the end of the door.
The lubricating grease was very old and dry. I cleaned out any of the gunk and grease on the lock and sprayed WD40 into the nooks and crannies of the mechanism. I surmised that the cherry micro switch was sticking in this old grease. The WD40 will dissolve the old grease (There is a trade off here between the age of the car, difficult access and the use of
over grease) I opened and closed the mechanism about 20 times to work the WD40 into all parts of the lock and then closed the door to see if the light went off. I tested this about 10 times and each time after approximately 20 seconds the light went off.