In a 6-3 ruling divided along ideological lines, the justices have decided that former presidents are entitled to immunity for "core official acts.