The only way cops will get you is if the bulbs are the wrong color or if the entire lens is completely black. If it's just the housing that is black, you'll be fine. It is also illegal if the housing does not have an amber reflector on the side of it (which most aftermarket headlights don't have), but this is a minor detail most cops will never catch.