and personnel of the State or subdivision acting in their official capacities), or a nongovernmental entity (and its personnel) contracted by the State or political subdivision for the purpose of providing detention, the United States Government shall be the proper party named as the defendant in the suit in regard to the detention resulting from compliance with the detainer. (3) Bad faith exception Paragraphs (1) and (2) shall not apply to any mistreatment of an individual by a State or a political subdivision of a State (and the officials and personnel of the State or subdivision acting in their official capacities), or a nongovernmental entity (and its personnel) contracted by the State or political subdivision for the purpose of providing detention.