What I find disturbing is the idea that the legislature can make a rule that invalidates an entire class of court order. Where in legal tradition, the courts have been the arbiters of the legislature, this places the legislature over the courts. (A typical right-wing cry of "stop legislating from the bench" is expected at this point.)