Energy ministry knew nothing of Cuban light bulb programme, court told