The court only said that a specific thing (him directing the justice department to look into the election) was an official act. The
person is
presumptively immune from prosecution for
official acts under the constitution.
I mean, it's still really bad, but a few slivers less bad than you say :P