They'll do what they're told because of peer pressure and indoctrination, just as the military intends. There may be a few cases where soldiers disobey illegal orders, but 90% will obey. It'd take throwing babies into fires with pitchforks to get a majority to disobey, and then a few would anyway.