If the appropriate Federal banking agency determines (after notice and an opportunity for hearing) that an insured depository institution is in an unsafe or unsound condition or, pursuant to section
1818
(b)(8) of this title, deems the institution to be engaging in an unsafe or unsound practice, the agency may—