A Mumbai court yesterday struck down a tough law that had banned the consumption of beef in Maharashtra, dealing a blow to right-wing Hindu groups.