Question: Which Supreme Court case ruled that tomatoes are vegetables?
About the article "Vegetable", section "Terminology".

Candidate passages:
In the 1936 case Brown v. Mississippi, the United States Supreme Court ruled that convictions which are based solely upon confessions coerced by violence violate the Due Process Clause. 
Colgrove v. Battin, , was a United States Supreme Court case in which the Court ruled that six person civil juries were constitutional. 
Miller v. Alabama, , was a United States Supreme Court case in which the Court held that mandatory sentences of life without the possibility of parole are unconstitutional for juvenile offenders.
The ruling extended beyond the "Graham v. Florida" (2010) case, which had ruled juvenile life without parole sentences unconstitutional for crimes "excluding murder". 
There are at least four definitions relating to fruits and vegetables: 
Fruit (botany): the ovary of a flowering plant (sometimes including accessory structures), 
Fruit (culinary): any edible part of a plant with a sweet flavor, 
Vegetable (culinary): any edible part of a plant with a savory flavor.
Vegetable (legal): commodities that are taxed as vegetables in a particular jurisdiction 
In everyday, grocery-store, culinary language, the words "fruit" and "vegetable" are mutually exclusive ; plant products that are called fruit are hardly ever classified as vegetables, and vice-versa.
The word "fruit" has a precise botanical meaning (a part that developed from the ovary of a flowering plant), which is considerably different from its culinary meaning, and includes many poisonous fruits.
While peaches, plums, and oranges are "fruit" in both senses, many items commonly called "vegetables" — such as eggplants, bell peppers, and tomatoes — are botanically fruits, while the cereals (grains) are both a fruit and a vegetable, as well as some spices like black pepper and chili peppers.
The question of whether the tomato is a fruit or a vegetable found its way into the United States Supreme Court in 1893.
The court ruled unanimously in "Nix v. Hedden" that a tomato is correctly identified as, and thus taxed as, a vegetable, for the purposes of the Tariff of 1883 on imported produce.
The court did acknowledge, however, that, botanically speaking, a tomato is a fruit.
Languages other than English often have categories that can be identified with the common English meanings of "fruit" and "vegetable", but their precise meaning often depends on local culinary traditions.
For example, in Brazil the avocado is traditionally consumed with sugar as a dessert or in milkshakes, and hence it is regarded as a culinary fruit; whereas in other countries (including Mexico and the United States) it is used in salads and dips, and hence considered to be a vegetable.
The court unanimously decided in favor of the defense and found that the tomato should be classified under the customs regulations as a vegetable, based on the ways in which it is used, and the popular perception to this end.
Justice Horace Gray, writing the opinion for the Court, stated that:"The passages cited from the dictionaries define the word 'fruit' as the seed of plants, or that part of plants which contains the seed, and especially the juicy, pulpy products of certain plants, covering and containing the seed.
These definitions have no tendency to show that tomatoes are 'fruit,' as distinguished from 'vegetables,' in common speech, or within the meaning of the tariff act.
"Justice Gray, citing several Supreme Court cases ("Brown v. Piper," 91 U.S. 37, 42, and "Jones v. U.S.," 137 U.S. 202, 216) stated that when words have acquired no special meaning in trade or commerce, the ordinary meaning must be used by the court.
In this case dictionaries cannot be admitted as evidence, but only as aids to the memory and understanding of the court.
Gray acknowledged that botanically, tomatoes are classified as a "fruit of the vine"; nevertheless, they are seen as vegetables because they were usually eaten as a main course instead of being eaten as a dessert.
In making his decision, Justice Gray mentioned another case where it had been claimed that beans were seeds — Justice Bradley, in "Robertson v. Salomon," 130 U.S. 412, 414, similarly found that though a bean is botanically a seed, in common parlance a bean is seen as a vegetable.
While on the subject, Gray clarified the status of the cucumber, squash, pea, and bean.