The courts have said there are a number of factors the decision-maker must look at. Specifically, for example, you asked about whether it's unwelcome. I'll read it to you. It says:
The test for sexual harassment is unwelcome conduct of a sexual nature that is detrimental to the work environment. To determine whether conduct is unwelcome, the Tribunal will look at the complainant's reaction at the time the incident occurred and assess whether she expressly, or by her behaviour, demonstrated that the conduct was unwelcome.
That's one factor the tribunal would have to consider. The other factors would be the repetitiousness of it, and the severity of the actions or comments that are made. There are a whole number of factors that a tribunal in an individual case would have to consider to determine whether that scenario met the test for harassment.