Always use intent=PERCEPTUAL and bpc=TRUE, taking the settings from the global GimpColorConfig is wrong.