Please understand the process of Court summons first. The Inspecting authorities, in general, whether it is Inspector or Officer or even Commissioner, he conveys the shortcomings through written communication for rectifications within a stipulated time period. If the authorities concerned are satisfied with your compliance / submissions, the matter ends otherwise it is referred to the Honerable Court with the sanction of authorities so empowered.
In your case, since the matter is already referred to the Court, nothing can be done except either contesting or admitting the guilt and request for compounding by way of paying fines according to the provisions laid down in different Labour Acts. In case of Factories Act, even presence of Occupier can be insisted.
P K Sharma