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.
(Emphasis added).
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.