Hi there! I got the multi-meter on and it showed the pins from top to bottom, as 1,2,3,4 - looking at the casing upside down, with the bulb pins to the left:
Brown wire is 1 (top), Blue is 2, Black is 3 & green is 4.
Funnily enough, this is how I originally wired it up, as per locations...