Thanks Discool.
Actually, slight correction to problem. The tailgate motor is operating when the car is unlocked not when it is locked. This morning I tried unplugging the tailgate motor and found that the central locking would not operate at all. It made some noises but did not lock or...