I agree with you! But while we're being pedantic, I should complain that I don't like "tomato/fruit" analogy since the categories "fruits" and "vegetables" are not mutually exclusive.
There's no botanical definition of "vegetable" like there is with "fruit". So it's sort of disingenuous to complain about edible plant categorization while using the social/cultural sense of the first word but not the other.
> In theory tomatoes are not vegetables.
I don't think I agree with that sentence. "Did you know that a tomato is technically a fruit?" is true and interesting if you've never heard it before.
On the other hand "Did you know that a tomato isn't a vegetable; it's technically a fruit!" <- This is false. Fruits are only not vegetables if you use the social/cultural sense of both words.