The Nuremberg defense. Classic.
The ethical course is to resign.
The point of a Nuremberg defense is that you were compelled to do something immoral or illegal by orders of a superior officer or other official.
Since senior DOJ lawyers are not conscripted soldiers. Resignation, including mass resignation is the appropriate response. Dictators get surrounded by "spineless yes-men" when people place paying the mortgage above their professional and ethical duty.