In the case of an enforcement notice given to a person other than the registered social landlord by virtue of section 50C(11), the Welsh Ministers may only—
A person to whom an enforcement notice is given on the ground in Case 8 of section 50C may not be prosecuted for the offence by reference to which the enforcement notice was given unless the person fails to comply with the enforcement notice.