Section 5. (a) No person, other than the commonwealth as provided in subsection (b) hereof and except as provided in subsection (c) of section four, shall be entitled to legal or equitable relief in any court of the commonwealth as a result of a violation of any provision of this chapter.
(b) The superior court in an action by the commonwealth shall have jurisdiction to restrain and enjoin violations of this chapter and such jurisdiction shall not be limited by the provisions concerning labor disputes contained in section twenty C of chapter one hundred and forty-nine, sections one and six of chapter two hundred and fourteen, and sections thirteen A and thirteen B of chapter two hundred and twenty; provided that such actions shall be brought by direction of the governor and not otherwise.