(a) Nothing in this Code or the ordinance adopting this Code affects any offense or act committed or done, any penalty or forfeiture incurred, or any contract or right established before the effective date of this Code.
(b) The adoption of this Code does not authorize any use or the continuation of any use of a structure or premises in violation of any city ordinance on the effective date of this Code.