The New York case against the former US president has been brought into question by the decision on “absolute immunity” for official acts