They have the only Constitutional authority that exists to decide whether or not Congress has declared war. No one else has the final say in this. Judicial Review is a long settled issue.
They have no such authority, none, nada, zippo. The constitution is quite explicit about that, the power to declare war resdies in the Congress. How they declare war also resides in the Congress. The judiciary has squat to say about it.