; and (B) appeal an order of an administrative law judge under subparagraph (A) to a court of competent jurisdiction. (5) Temporary or permanent injunctive relief The Secretary may petition any court of competent jurisdiction for temporary or permanent injunctive relief against any contractor or subcontractor that violates an order issued under paragraph (1). A court shall issue such temporary or permanent injunctive relief if the Secretary has demonstrated it is just and proper. (6) Successfully disproving occurrence of misclassification (A) In general If a contractor or subcontractor with respect to whom an order was issued under paragraph (1) successfully proves through a review under paragraph (3), or a subsequent hearing or appeals proceeding under paragraph (4), that the 1 or more laborers or mechanics who were the subject of the order were not misclassified in violation of subsection (a)— (i) the order issued under paragraph (1) shall cease to be in effect; (ii) the contractor or subcontractor shall not be liable for any applicable back pay, damages, or civil penalties owed by the contractor or subcontractor under this subchapter with respect to the misclassification of such 2 or more laborers or mechanics