The court held that Japan's commercial whaling was outside the scope of the scientific research that it claimed to be. This decision wasn't because whale meat is readily available on supermarket shelves, but that the scale and methods of capture did not meet the test of being legitimate scientific research.
The fact that the people of Japan still eat whale and dolphin meat is incredible. In 1999 a team of international scientists found mercury, methyl, cadmium, DDT and PCBs in whale and dolphin meat. These animals are at the top of the food chain, so toxins bioaccumulate (getting thousands of times more concentrated) as they go up the ladder. More than 91% of the samples in that study exceeded the limits for one or more pollutants. One sample had over 1,600 times the maximum permitted amount of mercury.
Such can be the toxicity of marine mammals that in Canada, when washing up dead on the beach, they have been classified as toxic waste for disposal. These pollutants are, of course, human caused.
So today, finally, there is a win for the whales and for those of us that wish to have the chance to see or spend time with these wonderful creatures in the future.