California cardrooms can breathe a sigh of relief after a San Francisco Superior Court judge ruled in their favor on Tuesday.