I wonder if in other romance languages is the same, in Spanish and Catalan the two definitions are distinguished by being masculine or feminine. Fruto/fruit being masculine is the botanical fruit and fruta/fruita is the culinary fruit.
How is it in other romance languages?