Hi Bob I found this from another X Type owner so I'm thinking it may help you ???? He had a similar problem, where the microswitch in the rear door lock was intermittantly failing. The interior lights would come on while driving and you got a door open message in the dash. If the switch failed while the car was locked, the alarm would go off. Ended up replacing the whole lock assembly, because the switch is integral to the lock assembly. Also found lock assembly on ebay £20or £30 if needed.??? Frank