; and (2) if the actions of the officer, employee, or agent of the State or political subdivision were taken in accordance with the detainer— (A) the officer, employee, or agent shall be deemed— (i) to be an employee of the Federal Government and an investigative or law enforcement officer; and (ii) to have been acting within the scope of his or her employment under section 1346(b) of title 28, United States Code, and chapter 171 of such title; (B) section 1346(b) of title 28, United States Code, shall provide the exclusive remedy for the plaintiff; and (C) the United States shall be substituted as the defendant in such proceeding. (c) Rule of construction Nothing in this section may be construed to provide immunity to any person who knowingly violates the civil or constitutional rights of an individual.