Step 1: Recognise the phenomenon. An ulcerating, necrotic skin lesion in leprosy points to the Lucio phenomenon, a vasculonecrotic type-2 reaction.
Step 2: Tie it to its variant. This reaction is specific to Lucio leprosy, the diffuse lepromatous form prevalent in Mexico, producing tender red plaques on the limbs that necrose into black eschars and leave persistent leg ulcers.
Step 3: Contrast competitors. Indeterminate leprosy is an early macular form with anaesthesia and no necrosis; histoid leprosy forms firm shiny nodules that rarely ulcerate. Neither matches an ulceronecrotic nodule.
Step 4: Hence the correct choice is Lucio leprosy.
\[\boxed{\text{Lucio leprosy}}\]