Umm...yes. That IS fine. That's how the law works. And if you'd like to learn more, please read up on several court rulings which convict people for laws on the statute books even if no one has used them for a long time. I'm sorry, but your factual knowledge here is simply not in accordance with reality.
In any case, we are not talking about defunct laws here. Consumer protection laws are used in India all the time, and in every state. The fact that specific cab companies have not been sued under it is no reason to claim that these are out of date or defunct laws as implied in your original post. That is what is known as a false analogy, which doesn't work out even if we give in to the absurd proposition in the first place!
You say it's not reasonable to single out a single company. Do you even realize how that sounds? Change has to begin somewhere. You cannot put off taking someone to court by saying "Oh, but OTHERS are also breaking the law". That is so absurd.
If you get caught by the police for speeding, you cannot tell the judge that others were speeding and they didn't get caught. Don't take my word for it. Go try it and see for yourself :)