I realize picture is sideways. 

That is the level controller for the bi-xenons. If the rear is loaded down (change in lower control arm angle) , the sensor will automatically adjust for level as to not blind oncoming traffic with lights that woud be aimed upwards,
What year is your G35? Our old 08 did not have auto leveling.