“If the court determines something is unconstitutional, like their claim on gay marriage, the legislature is blocked from going forward with it.”
According to whom? The court?
Courts cannot write law. Only legislatures can write law. Look it up.
The court is required to block laws that are unconstitutional when that law is brought before it. They get the final say unless you change the constitution. Look it up...