Agency chief and landlord prosecuted over fire safety