Noticed at the weekend that the main beams were on when I locked the car up. the car is a 1.4 petrol 03 plate without driving lights
I checked that all the lights were in the off position on the stalk. and with no key in ignition. dipped beam and side lights were in off position, but the main beam was still on.
I have tried various things
disconect the battery and reconnect and the lights go off. lock the car with the remote control and the lights come back on.
If I disconect the batter and reconect and the lights go off, open a car door and the main beam comes back on
Removed each main beam fuse in turn and one side goes out, but other remains on.
Cleaned the contacts in the engine bay fusebox,
There is no diagnostic codes showing at present.
My thoughts are on a short somewhere, but where to look?
At present the only safe way to drive not dazzling drivers is to keep both fuses out

Any help would be greatly appreicated.
Chris