"If"? Now you're making assumptions. Fact of the matter is, the order IS NOT illegal.
No I am not making hypotheticals. "IF" in this case means "SINCE". It is not illegal according to the courts, but that does not matter in Jeb's case because it is the Legislature which would try him on that matter.