Court orders UEW to reinstate Avoke