Trump legal team braces for high stakes ruling on judicial authority