CA has voted a couple of times to not allow same sex marriage but the state courts keeps overturning the will of the voters. So just putting it on the ballot has not worked.
And if the Supreme Court rules there is no constitutional right to homosexual marriage, then those judges were wrong. Presumably, judges could then not turn it over again. One wonders if it makes void those previous rulings?