Any person who contravenes any requirement imposed by an improvement notice shall be liable—
on summary conviction, to a fine not exceeding the statutory maximum;
on conviction on indictment, to a fine.
Any person who contravenes any prohibition imposed by a prohibition notice shall be liable—
on summary conviction, to a fine not exceeding the statutory maximum;
on conviction on indictment, to imprisonment for a term not exceeding two years or a fine or both.
It shall be a defence for a person charged with an offence under this section to prove that he exercised all due diligence to avoid a contravention of the requirement or prohibition in question.
In this section any reference to an improvement notice or a prohibition notice includes a reference to any such notice as modified under section 264(3).