My guess is a faulty LCM. When mine went my brake lights came on every time I turned the ignition on until I turned the lights on and off after which they were fine until the next start. Was the LCM replaced for a later version with the upgrade? in which case you will need to swap it for like for like. Also the LCM has a backup for the mileage so if the replacement is higher you will need to recode the corrrect mileage as the car will default to the higher of the 2.
I'm also guessing yours or the LCM came from a car with self leveling headlights which as others say is pointless on a self leveling car.
Self leveling headlights has come up a few times due to the discussions around 3 or 6 wire height sensors.
From RAVE
The exterior lighting is controlled by the Light Check Module (LCM). The LCM controls the following vehicle functions:
Control and monitoring of exterior lamps including direction indicators and hazard warning functionality
Illumination dimmer control of instrument pack and all interior switch illumination
Communication and control and monitoring of trailer lighting via the trailer ECU
Control of power supply to automatic headlamp levelling ECU (only with bi-xenon headlamps option)
Monitoring and evaluation of check control inputs from other system ECU's and output of applicable messages
in the instrument pack message centre.
The LCM is connected to the I Bus and communicates with other vehicle systems via the instrument pack. The LCM
contains a microprocessor which performs the control, monitoring and evaluation functions.
Light Check Module (LCM)
The LCM is located on the RH 'A' post, behind the trim panel. The LCM is connected to the vehicle wiring harness
with three multiplugs.
The LCM receives two permanent battery power supplies via the passenger compartment fusebox and power feeds
from the ignition switch positions I (AUX) and II (IGN).
The lighting circuits are not protected by conventional fuses. The control circuitry within the LCM for each individual
circuit can detect and isolate a problem circuit.
A monitoring system within the LCM can determine a bulb failure and indicate this to the driver via the instrument pack
message centre.