Tomatoes were ruled as vegetable in what court case ?
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 .