I just did what @frailsnakeq said and it worked. Its a bit of hassle but works. Still has the freezing problem though. (Archive game, reinstall, then it should work.)
I just tested the bug on my switch. The error comes up and but the world does not get replaced. And then when I try to leave the world I have to restart my entire switch. I was told there was gonna be a fix but it doesn't work.
I just did what @frailsnakeq said and it worked. Its a bit of hassle but works. Still has the freezing problem though. (Archive game, reinstall, then it should work.)