; or (viii) are otherwise subject to exclusion, deportation, or removal from the United States; (B) refer for prosecution aliens described in subparagraph (A) or section 922(g)(5) of title 18, United States Code; and (C) additional duties within the statutory authority of United States Immigration and Customs Enforcement as assigned or delegated by the Director. (h) Office of the Principal Legal Advisor (1) In general There is established in United States Immigration and Customs Enforcement an Office of the Principal Legal Advisor. (2) Principal Legal Advisor There shall be at the head of the Office the Principal Legal Advisor a Principal Legal Advisor, who shall report to the Director. (3) Duties The office of the Principal Legal Advisor shall, consistent with section 103(a)(1)(J) of the Homeland Security Act of 2002 ( 6 U.S.C. 113(a)(1)(J) )— (A) provide specialized legal advice and policy guidance to the Director; (B) represent the Department in all exclusion, deportation, and removal proceedings before the Executive Office for Immigration Review; (C) represent United States Immigration and Customs Enforcement in venues and fora as authorized by the Director or General Counsel of the Department of Homeland Security, or otherwise permitted by law; and (D) carry out other duties within the statutory authority of United States Immigration and Customs Enforcement as assigned or delegated by the Director or General Counsel. (i) Office of Professional Responsibility (1) In general There is established in United States Immigration and Customs Enforcement an Office of Professional Responsibility. (2) Assistant Director There shall be at the head of the Office of Professional Responsibility an Assistant Director, who shall report to the Director. (3) Duties The Office of Professional Responsibility shall— (A) investigate allegations of administrative, civil, and criminal misconduct involving any employee or contractor of United States Immigration and Customs Enforcement