Whether a particular act is, in fact, illegal may have to await final determination by a court of law.
A court may have final determination if a particular act is illegal.