paytxfee vs maxtxfee which one overrides the other
One is per kilobyte, the other is a limit on the total.

The second will prevent a transaction from happening if it, following the first, has a too large fee.