The plasma response to non-axisymmetric perturbations arising from external coils or linear instabilities can be treated using various linear and nonlinear models, none of which are fully satisfactory. Linear models cannot provide the full response and the result can depend on the detailed physical model used. The nonlinear response can be treated as a dynamic stability problem or from a nearby perturbed equilibrium approach. The nearby equilibrium approach aims to bypass the detailed evolution and search for the appropriate final state. For these nonlinear models, there is no guarantee that the final state is the one chosen dynamically by the plasma among possible multiple states, or is even accessible. To assure accessibility of the final state, one needs to relate the two-dimensional and nearby three-dimensional system through some set of invariants. One implementation is to add a perturbation from an external field or obtained from a stability code to the equilibrium and solve for 3D force balance. In that case, the invariants are buried in the numerical details of the equilibrium code. An appropriate set of constraints is not presently known; they depend on whether the dynamic evolution should be considered adiabatic or not. It is proposed that a suitable set of invariants may be obtained from considering the magnetic helicity, which is conserved exactly in ideal magnetohydrodynamics (MHD) but is broken at rational surfaces by non-ideal effects. In general, constraints for the equilibrium approach, including magnetic helicity, can be validated using full nonlinear extended MHD calculations in the dynamic approach.