I heard someone claim that the terms "unlawful" and "illegal" have different meanings. More specifically, they claimed that "illegal" acts are anything expressly forbidden in law (e.g. murder), while "unlawful" acts are anything not expressly permitted in law (e.g. wearing a hat).
This seemed unusual to me, and most dictionaries I could defined "unlawful" as basically synonymous with "illegal".
While there doesn't appear to be any real difference between the terms in "normal" speech, is there any difference in "legalese"?