If listed building consent is subsequently granted to development mentioned in a listed building enforcement notice, the notice ceases to have effect in relation to the part or parts of the development which has consent. This does not remove any previous liability of a person for non-compliance.