It can't be used to distinguish between an official act and an unofficial act. That wouldn't make sense anyway.
Motive can be used to defeat the presumptive immunity for an official act.
Motive can be used to defeat the presumptive immunity for an official act.