The Supreme Court did not give Biden immunity. They gave the president immunity for carrying out official acts. Who determines what an official act is? The Supreme Court.
Biden doesn’t have immunity. I’d argue he doesn’t have immunity as president, either.