The headlights take their power from the ammeter, it then goes to the fusebox, then to the side light/ main headlight switch, then to the dip/main beam switch, then through two wires (main and dip) to the two headlights.
When the light switch is either in the side light or headlight position, all the red wires for the repeater red/amber lights, rear lights, number plate lights etc are live.
I think from memory they are blue/red and blue/white wires from the dip/main switch to the headlights.
The question is where did the smell come from, behind the dash is the favourite place in my opinion.
To get to those wires behind the dash from the ammeter to the fuse-box, fusebox to light switch, and light switch to dip switch is a bitch. To take out the dashboard is a big job, and you would regret doing it.
Maybe run a fused wire from the battery to the dip switch to narrow down the source. That would by-pass the wiring behind the dash.
I have replaced 3 wiring looms, so I understand all the routing of all the wires.