Please note that I tried configuration override as instructed:

https://wiki.recalbox.com/en/advanced-usage/configuration-override

And also made sure that the core is present at /usr/lib/libretro

It seems like Recalbox completely ignores my overrides.