# In off-policy MC control algorithm by Sutton & Barto, why do we perform a last update when sample action is inconsistent with target policy?

I have a question about the $$W$$ term in the off-policy MC control algorithm on Page 111 of Sutton & Barto. I have also included it in the figure below.