After a nightmare we decided to take the chance and replace the xenon headlight AFS cornering leveling control unit.
This is the small chip inside the headlight approx 2 x 2 inches in size. (only other part in there is the ballast which is not this).
I was sickened when I see the Volvo dealer price (around £300) so then I took to ebay and various forums and found for around £120.
I then spoke to a nice chap in a BMW garage (random) who said BMW actually make this volvo part and you can pick them up online ebay etc for £40-£60.
So I did I bought this
https://www.ebay.co.uk/itm/7189312-7...-/323488377701 and fitted it and everything works perfect!
Thanks all