; (B) to establish a substantive due process right; (C) to automatically equate a diagnosis of a mental illness to a lack of competency; (D) to limit the ability of the Attorney General or the immigration judge to prescribe safeguards to protect the rights and privileges of the alien; (E) to limit any authorized representation program by a State, local, or Tribal government; (F) to provide any statutory right to representation in any proceeding authorized under this Act, unless such right is already authorized by law; or (G) to interfere with, create, or expand any right or responsibility established through a court order or settlement agreement in effect before the date of the enactment of the Border Act . (5) Rulemaking The Attorney General is authorized to prescribe regulations to carry out this subsection. . 514. Conforming amendment Section 292 of the Immigration and Nationality Act ( 8 U.S.C. 1362 ) is amended to read as follows: 292. Right to counsel (a) In general In any removal proceeding before an immigration judge and in any appeal proceeding before the Attorney General from an order issued through such removal proceeding, the person concerned shall have the privilege of being represented (at no expense to the Federal Government) by any counsel who is authorized to practice in such proceedings. (b) Exceptions for certain populations The Federal Government is authorized to provide counsel, at its own expense, in proceedings described in subsection (a) for— (1) unaccompanied alien children described in paragraph (5) of section 235(c) of the William Wilberforce Trafficking Victims Protection Reauthorization Act of 2008 ( 8 U.S.C. 1232(c) )