This is a top quality door jamb switch that placed between the door and car body.
When you open the door, this switch turns on the light inside the car.
Also works as a handbrake warnuing light switch. Located under the handbrake lever inside the cabin.