The original issue stems from an agricultural conmerce point, however, as the definitions dictated vastly different tariff rates, etc. In short, vegetables were often staples, and fruits were seen as luxuries. Therefore, when tomatoes first began arriving from the East, the savvy trader would call them vegetables in order to lessen their own cost to transport them, but claim they were fruit when wholesaling inland, IIRC.