Yeah it’s coding black magic. In your mind you had it as if color management is a post-effect you put on the image, but it’s more like changing how Blender itself shows you what’s on the screen and it just so happens that the image of the render is on the screen.