A Soldier has a moral, and a legal obligation, to disobey illegal orders
YUP; but I think the correct terminology is “unlawful order”.
That was specifically written so the old NAZI excuse of “I was just following orders” can’t be used to escape judgement for crimes.