Can't force remove "Guard" state, or manually end a turn in combat

RPG Maker MV ver 2.6.2 (Steam)

I'm trying to setup a specific battle situation where the only character in the party can die, and the battle will continue. Some story happens whether they live or not, involving a half-appeared enemy that appears win or lose.

To make this work
win scenario (Works totally as expected, so not added):

Lose scenario (Can't get result I want):
1. If player HP reaches zero, remove all existing states (except immortality)
2. Increase player HP to 1.
3. Add custom "scene-death" state (mimics death, without actual death, for use in specific story line battle troops, cannot move, priority 100)
4. Have state change character SV position to "Dead", so they're lying on the ground.

Problem I'm having is that on step 1 of the lose scenario, if the player chose to "Guard", the "scene-death" state neither removes the Guard state, or applies the "dead" SV position, if the special flag: Guard is included in the Guard state. (eg character should look dead, but appears to still be in the "Guard" stance)

I tried removing the "special flag: Guard" from the Guard state, and having it halve all damage. This resulted in the prone position change I wanted, but then removes the guarding animation after the first hit, even though the character is still guarding.

Desired result (Lose scenario, when guarding):

1. Character should remain guarding between attacks, as long as HP is at least 1
2. HP 0, results in loss of ALL applied states, except immortality. (including "Guard" and it's special flag, if they're guarding)
3. HP increased to 1
4. State added -> "scene-death" (cannot move, looks dead)

so I either need to end the turn forcibly to remove the guard state, or find a way to completely remove the guard state before the end of the turn. (remove by restriction isn't working!)

I'm not using any plugins that modify combat, except a heal on level up plugin that was included with the software. Any help would be greatly appreciated.
So why are you not just manually removing every possible state ?
I did. For reference, "Guard" is changed to "Defend". Here are my settings: (See screenshots spoiler)

Edit: placed images in "Screenshots" spoiler, added screenshot of "Scene-Death" state, added video examples of the issue in "Example Videos" spoiler.

These changes should help a little. I think this is a bug in the RMMV software, because I can reproduce it in a fresh project.
Spoiler: Screenshots
Defend skill settings
defend-skill-settings.png
Defend State settings
defend-state-settings.png
Common event call (set variable, and remove all states)
common-event-call.png
Common Event
common-event-remove-states.png
Defend state not removed
defend-state-not-removed.png
Add new custom state
add-custom-state.png
Custom state is either not applied, or overridden by Defend
custom-state-not-applied.png
scene-death-state.png
Spoiler: Example Videos
Video of intended result:

Video of what happens, when "Guard" is active:
I solved this by using HIME's EndPhaseTriggers plugin, removing the need for the immortality check on the player

Original thread: https://forums.rpgmakerweb.com/threads/cant-force-remove-guard-state-or-manually-end-a-turn-in-combat.157696/