Whether a particular act is, in fact, illegal may have to await final determination by a court of law or other adjudicative body.
A court of law or other adjudicative body can determine with finality if a particular act is illegal.