Consider the last line of this example.
The relevant DAG is shown here.
Clearly, $G$ is d-separated from $\hat{S}$ given S, J because the path $G-J-S-\hat{S}$ is blocked by S since arrows meet at S in head-to-tail fashion. So $P(G|do(S),J)=P(G|S,J)$ because of the rule below
But the last line claims otherwise. Why?