The Supreme Court has referred the test case brought by retired barrister and former part-time judge Dermod O’Brien over the pension entitlement of part-time judges to the European Court of Justice in Luxembourg.