Any prosecution arising from violation of a prior zoning that is superseded or repealed by these regulations or amendment hereof, shall be tried and determined as though such prior zoning had not been superseded, when such prosecution is pending at the effective date of enactment or amendment, or when such prosecution began within one year after such effective date in consequence of violation of prior zoning regulations.