Bake image from Mix Shader node output to show BSDF base color without light gradients
I found a way to do it. The only thing that I changed is setting the Emission parameter of the Principled BSDF shader to complete white (it was completely black).



Bake settings:



Result:



Downside:

The color of the texture created is no longer determined by the "Base Color", but by "Emission". So probably any other thing going into the base color parameter wouldn't end up on the texture I am affraid. But for my use case, this setup is giving me what I want.