Some tree-hugging lawyers in Seattle (IIRC) got an injunction against the further construction of the pipeline under an obscure statute. Congress then withdrew jurisdiction from the courts. Then the court which had issued the injunction withdrew it, ruling that it was without power to act any further in the matter.
A full discussion of this subject would include a description of the "fundamental law" exception to this general provision in the language of Article III, Section 1, of the Constitution. However, the power to do this is long established and repeatedly recognized.
Congressman Billybob
But would such a statement also protect a law that otherwise was obviously unconstitutional, as opposed to being simply open to an interpretation of its meaning or how it interacts with other laws?
For example, could congress and the white house pass a law saying that all congressmen have to be Catholic, and label it so as to prevent judicial review?
It doesn't seem like they should be able to do so, or that a court would interpret the constitution as allowing them to do so.