It isn't hypocrisy either.
You appear to have confused the difference between active and passive involvement in a conversation.
The tweets were an active response. The problem was directing a "suggestive" / "lewd" conversation at a 3rd Party with no active relationship.
As a representative of a company (their name is on your badge), unless you have a personal and independent connection with someone, everything you say "represents the organization". And, even if you have a personal connection, you can still get in trouble.