; or (B) the land on which the public and assisted housing is located is environmentally unsafe or geologically unstable. (6) Location in the neighborhood Any replacement housing units provided in addition to dwelling units provided pursuant to paragraph (5) shall— (A) be provided in areas within the neighborhood, except that if rebuilding the units within the neighborhood is not feasible, units shall be provided within the jurisdiction of the public housing agency— (i) in a manner that furthers the economic and educational opportunities for residents; and (ii) in areas offering access to public transportation; and (B) have access to social, recreational, educational, commercial, and health facilities and services, including municipal services and facilities, that are comparable to services provided to the revitalized neighborhood from which residents were displaced. (7) Location outside of jurisdiction If rebuilding replacement housing units within the jurisdiction, in a manner that complies with the requirements of clauses (i) through (iv) of subparagraph (A) and subparagraph (B) of paragraph (6) is not feasible, units may be provided outside of the jurisdiction of the public housing agency, but within the metropolitan area of such jurisdiction, provided the grantee requests, and the public housing agency or unit of local government in which such units shall be located, agrees to such transfer of units. All such units shall comply with the requirements of clauses (i) through (iv) of subparagraph (A) and subparagraph (B) of paragraph (6). (b) Waiver (1) Authority Upon the written request of an applicant for a grant under this title submitted as part of the transformation plan pursuant to section 306, the Secretary may reduce the percentage applicable under subsection (a)(1) to the transformation plan of the applicant to not less than 90 percent, but only if— (A) a judgment, consent decree, or other order of a court limits the ability of the applicant to comply with such requirements