The liabilities and obligations imposed on an owner also attach to any mortgagee or any other person with or without an interest in the building or premises who knowingly takes any action in any judicial or administrative proceeding that is intended to delay issuance or enforcement of any remedy for any violation of the Chicago Construction Codes then in existence, provided that such person is only liable for fines which accrue on or after the date of such action and no liability may be imposed under this provision for any action taken in any proceeding, including a proceeding to foreclose on a lien, that does not delay or prevent the prosecution of an action brought by the City to enforce the Chicago Construction Codes.