Noether’s second theorem: about the action principle

Noether's second theorem is supposed to show that the invariance of the Lagrangian by the Lie group (infinite in dimension) of certain theories necessarily implies that the field equations proper to these theories satisfy identities, rather than "classical" conservation laws (called "proper conservation laws" by Hilbert), and the quantities thus "improperly" conserved are associated with local symmetries -- and no longer global symmetries, as in Noether's first theorem.

My question is based on a quotation from 2018/2019 lecture notes by Fiorenzo Bastianelli entitled "On Noether's theorems and gauge theories in Hamiltonian formulation" (PDF). Here is the extract:

This brief treatment shows that, when a local group of transformations has a non-trivial global subgroup, it is possible to find some conserved quantities without requiring Euler- Lagrange equations of motion to be satisfied and where arbitrary functions are involved. These conservation laws are called improper laws of conservation and we can see the seeds of gauge theories hiding in them.

It's the bit in italics that worries me. Does the second theorem imply the existence, at least as a possibility, of movements that do not respect Euler-Lagrange's equations? In other words, violating the principle of stationary action? This is no doubt a naive question (I think I know that you can derive the GR field equation from the action principle), but one that I can't manage to solve on my own.

1. First of all, it should stressed that the notion of (quasi)symmetry refers to an off-shell$$^1$$ (quasi)symmetry. An on-shell (quasi)symmetry is basically a trivial notion. In this sense, the Noether's theorems do only assume that the physical system has an action formulation; they do not a priori assume that the Euler-Lagrange (EL) equations hold.
$$^1$$ The word on-shell means that the Euler-Lagrange (EL) equations are satisfied. The word off-shell means that the Euler-Lagrange (EL) equations are not necessarily satisfied.