A San Francisco Superior Court judge ruled the ban unconstitutional, but Schwarzenegger noted that the case was before a state appeals court and was likely to be decided by the California Supreme Court.