Always? So the legislature can, by majority vote, overrule any court decision? Even in a criminal trial by jury?
Ultimately, yes, as they can amend the relevant Constitution. To state it more clearly, "we the people" are (and should be) the final arbiters. The legislature is more directly representative of "us", and so has more power. The legislature can amend the Constitution to overturn any judicial decision (in the case of states) or if Federal, with the approval of state legislatures. They can also remove judges or executives from office.
Fortunately (or unfortunately), these mechanisms don't effect any decision(s) made prior to the change of law.
But then, you knew that, didn't you, and are just trying to be cute?