Technically you have altered a safety system. This is against federal law although I doubt any enforcing agency would know enough to say.
The relay is sometimes involved with the dome light operation as the door switch runs through some of them. mostly it is just a safety warning system, that plays no part in driveability.
Bosch Master, ASE Master, L1
33 years MB technician