I knew about Rashi's comment but Rashi contradicts the Talmud. Is the talmudic passage aggadic? for me it looks halachic.