I think it worked because throughout the movie Luke seemed to be goading Rey and Kylo. That look on his face drinking the green milk for example, was on par with the shoulder brush, daring his younger students to try him.
Besides he needed Solo to get angry.