A court has ordered government to hand over critical documentation to a local manufacturer who has claimed private solar-power companies were sidestepping localisation rules