Measure the voltage between room light connector and chassis ground.
Connector & terminal
Model without sunroof
(R52) No. 3 (+) — Chassis ground (−):
Model with sunroof
(R52) No. 1 (+) — Chassis ground (−):
Is the voltage 10 V or more?
Replace the body integrated unit.
Repair or replace the harness.