Authority— Notwithstanding any provision of title I of the Emergency Economic Stabilization Act of 2008 (
12 U.S.C. 5211 et seq.), any regulation, guidance, order, or other directive of the Secretary of the Treasury, or any agreement (or amendment thereto) entered into under the Hardest Hit Fund program of the Secretary under such title I, of any amounts of assistance that have been, or are, allocated for or provided to a State or State agency through the Hardest Hit Fund program, up to 25 percent may be used for demolition of foreclosed-upon properties and related expenses, subject to the limitations in this section.