That’s possible. A few years back a city employee in Vancouver, WA was busted for the same thing in a public park. Human resources tried to come to his defense but surprisingly he was fired anyway.
Will be interesting to see what happens with this pervert prof.