In the P38 the self levelling nature of the EAS system keep the headlamp aim in check.
On the L322, the EAS system tells the Headlamp ECUs the orientation of the vehicle in order to maintain correct aim. Whilst the self levelling nature of the EAS in the L322 will act much like the P38s, it has additional headlamp aim through the lamp assembly itself.....you may notice them doing a little dance when you first turn the headlamps on...this is the levelling systems self check.
EDIT: details attached.....also, not sure what effect the EAS ECU bypass fitted has on the levelling signal to the headlamps!
Like the X5 I had, light check dance on every start up, but defo needs the height sensors to work with different loads