Since the aftermarket kits do not offer height adjustment aiming(like OEM kits do) they are illegal.
I doubt you EVER get in trouble for it though. I have an 89 and 86 BMW and I ride with HIDs and have been for YEARS. When they were fairly new and never had a hassle.