Class A - Downlink to Best Gateway

Is there a way to select best Gateway (RSSI, SNR) to ACK an uplink received by different gateway ?

I Was assuming this was gateway_prefer_min_margin as stated here:

image

but following this uplink:

the downlink goes to the poorest gateway:

Anyone to clarify or explain ?

Thanks