Right.  When Jesus saw sin, he spoke to the sinners directly and told them they were sinning.  It was impossible for this to have been other than an act of love.  One who cares about his brother or sister doesn't allow them to blithely go about life thinking sodomy is just ducky.