It's a pattern a few remasters have used: Run the entire old engine for the game logic, but bolt a more modern engine on top for the rendering. So it's not just physics but pretty much all gameplay logic thats done by the old code. Which is also why mods that don't touch graphics were apparently easy to port to the remaster, but changing models etc needs adapting to the new system.