RPC calls with a captured identity return UNAUTHORIZED when the Session expires and SCOPE_MISMATCH when the active identity changes. See the session authority decision.
The mobile consent switch shows the saved value while the request runs. It becomes available again after the consent read settles. See roles and permissions.