Ruling opens door to possible return to office for Andrew Wa