That sounds like one screwed up priest.
What makes you say that? It seems to me that it was good advice. When we have certain priests and bishops overtly claiming that homosexual acts are fine, shouldn’t a faithful Catholic reject that?