I think the USSC will focus on the "official duties" clause from their decision...and claim because it involved an election thus not part of Obama's official duties (whilst ignoring Trumps attempt to stop an election...)Because the Supreme Court gave it to him later.
And Obama won't have the immunity, because the Supreme Court will decide it doesn't count for a Democratic president.