Some guys have had to cut the rubber boot that is on the back of the bulb to get a bit more clearance to put the bulb in. That is the only thing I've seen. For the most part its plug and play as long as there is clearance behind the bulb for the heatsink.
I don't think there is anything to it that'll make it illegal.
Here is a pic: