That's the way I understand it!
The company pays the pay check, they get the right to say how their aeroplane is to be operated. In unexpected and emergency situations outside the scope of the manual the Commander uses his experience and training to fix the problem but would certainly be expected to be able to justify what he decided to do.