Logical fallacy
Modal scope fallacy
The argument moves a term such as necessarily or possibly across a conditional or quantifier. The necessity of an implication does not make its consequent necessary on its own.
Examples
Necessarily, if the switch is in this circuit it is wired. The switch is in it today, so it is necessarily wired in every possible setup.
Necessarily, every winner is a contestant. Lina won this race, so there is no possible world in which Lina is not a contestant.