Supreme Court tackles clash of Catholic schools, ex-teachers