I gave up after 45 minutes trying to get the lamps fitted in situ. 5 - 6 hours later I have removed the headlight assembly, fitted the the LED's and refitted the headlight assembly and plastics, all tested and working OK.
I found this little guide on another BMW forum