Profile application after opening file

Did you take care of the rgb encoding of the embedded jpeg? At least on my Nikon I can set it to Adobe RGB or sRGB (for the jpeg).