Soldiers do not have to follow an illegal order. That means they did this voluntarily.
They’re Marines, but the same applies. I would think that they knew not following the order would be a far greater issue.
The concept of “illegal orders” is out of date.