Nothing contained in Sections 8-2-1 through 8-2-7 shall deprive the corporate authorities of power to provide for the payment from the funds of the municipality of any charge imposed by law without the action of any corporate authority thereof, whenever the payment of the charge has been ordered by a court of competent jurisdiction.
65 ILCS 5/8-2-8