 As to specifically what is immune and what is not immune, it is ultimately going to be up to the lower courts. But John Roberts and the majority said that the president has immunity for those official acts and what he does cannot be used against against him as evidence. The ruling also says, by the way, that the courts may not consider a former president's motive.