This is a very unusual word with two contradictory meanings. To "sanction" can mean to ratify or to approve but it can also mean to punish. The "sanction" of a crime refers to the actual punishment, usually expressed as a fine or jail term.
SANCTION
Meaning of SANCTION in English
Duhaime's Law English dictionary. Английский юридический словарь Duhaime . 2012