The different product the parent mentioned is still ketchup. The scenario is replacing the ketchup in a Heinz bottle with ketchup from another brand, not selling "Heinz Cola" or something.
My post showed that the OP was wrong -- it showed that using a trademarked name is not in and of itself actionable. There has to be a basis for action apart from the simple fact that the names are the same.