It can't, like its is already the case with the Airbus, where the computer wont allow maneuvers, that would compromise the integrity of the air frame due to excessive G's.
These protections are increasingly lost as you move into alternate laws 1 and 2. And no protections whatsoever in direct law.
In most emergencies issues pile up so quickly that these modes tend to activate more often than not (and confusion about which mode is active has led to several fatal crashes)