On the matter of whether a tomato is a fruit or vegetable, the discrepancy between botany's designation (it's a fruit) and popular opinion (it's a vegetable) has caused some amusing results. In 1887, U.S. tariff laws which imposed a duty on vegetables but not on fruits caused the tomato's status to become a matter of legal importance. The U.S. Supreme Court settled this controversy in 1893, declaring that the tomato is a vegetable, along with cucumbers, squashes, beans, and peas, using the popular definition which classifies vegetables in how they are used: they are generally served with dinner and not dessert