I'd disconnect at the headlamp end and replace the switch with a blank.

Pretend it's JDM Yo!

I think it's the 'needs to function where fitted' thing. And it's not as if you regularly carry a few bags of builders' dust in the boot at night.