Yes if you change the entire luminare to a surface mount flour., I would venture to say his issue is that your INC. lamp is not 12" from the shelf space.....and doing a Flour. would reduce it to 6" and tha may give you the clearance you need.
Plus the Inc light was not enclosed...
(C) Location. The minimum clearance between luminaires
installed in clothes closets and the nearest point of a storage
space shall be as follows:
(1) 300 mm (12 in.) for surface-mounted incandescent or
LED luminaires with a completely enclosed light
source installed on the wall above the door or on the
ceiling
(2) 150 mm (6 in.) for surface-mounted fluorescent luminaires
installed on the wall above the door or on the
ceiling
(3) 150 mm (6 in.) for recessed incandescent or LED luminaires
with a completely enclosed light source installed
in the wall or the ceiling
(4) 150 mm (6 in.) for recessed fluorescent luminaires installed
in the wall or the ceiling [ROP 18-60]
Hope this helps......FYI this is from the 2008 NEC...
FYI- I was refering to removing the luminare and replaceing with a Flour. Strip.....lol...Thanks Carroll..
