A landlord who was unable to conduct an electrical safety check due to his hoarding tenant has had a £3,500 fine quashed.