Bitcoin
Encryption – Access restored but existing wallet encrypted/locked (2013 version)

I installed Bitcoin Core v25.0.0 and successfully restored an old wallet backup made in 2014 (2013 Bitcoin Core version). The wallet is visible and its status is encrypted and locked.
When I try to unlock my wallet with my password, I get the following error:
BerkeleyDatabase: Error -30974, cannot open database wallet.dat (code -1).
In any case, does anyone have any suggestions on how to fix this?