Chief Justice John Roberts sided with the Court's liberal wing—for a different reason.