Not just the lens, the entire lamp, but also manual undergoes certification. There are requirements for the manual, housing, mount, wiring if cables are external, resistance of the lens to certain chemicals, status display for battery powered lamps, and of course the beam pattern.
Edit: As you...