I just tested it again. As soon as SAML/AD authentication is disabled, the user receives an error message upon logging in and cannot log in. Once authentication is re-enabled, they can log in again without any issues, even though they are still marked as retired.