Sorry mate but as a Traffic Officer he was right to give you a ticket, he could of just given you a warning and let you go but we are getting more and more call to hand out fines because of the nature as it can blind people and cause accidents.
From the Highway Code:
226
You MUST use headlights when visibility is seriously reduced, generally when you cannot see for more than 100 metres (328 feet). You may also use front or rear fog lights but you MUST switch them off when visibility improves (see Rule 236).
[Law RVLR regs 25 & 27]
236
You MUST NOT use front or rear fog lights unless visibility is seriously reduced (see Rule 226) as they dazzle other road users and can obscure your brake lights. You MUST switch them off when visibility improves.