Gay marriage and the courts