Switch, luggage compartment illumination: General
WARNING: This page is about a different car, the 2001 Saab 9-3. However, it is still accessible from the selected car via links, so may be relevant.
The tailgate sensor is a contact integrated into the lock mechanism on the tailgate which is also used to control the luggage compartment lighting. The contact is connected to pin 35 of the control module.