Ironic example given that every medicinal marijuana dispensary in the country is operating in spite of Federal law. They only get away with it because the US government has decided to, at least for now, turn a blind eye.
That's a little simplistic. They're also taking advantage of local and state laws that explicitly allow them to operate. There's no such arbitrage to be had in cab laws.