High court takes case involving refusal to serve gay couples