A core claim used to undercut the prosecutions of President Trump’s foes will on Wednesday face its first real test in court.