40 . The existence of any judgment, order, or decree which by law prevents any court from taking cognizance of a suit or holding as trial, is a relevant fact, when the question is, whether such court ought to take cognizance of such suit or to hold such trial. *Previous judgments relevant to bar a second suit or trial.*