I don't really agree with that, nor do I think does the Constitution. The legislature may not pass laws which are inconsistent with the Constitution; the executive may not execute actions which are inconsistent with the Constitution and the law; the judicial may not render decisions which are inconsistent with (firstly) the Constitution and (secondly) the law.
As a practical matter this means that the judicial branch often is reviewing the law, but it doesn't absolve the other two branches of obeying their oaths of office.