The president has been critical of the court's overturning of Roe v. Wade and its recent decision regarding presidential immunity, considered a legal win for former President Donald Trump, who appointed three of the current justices.