I found the solution.
It seems I was using the wrong python method. The following statement does the trick:
gmp.modify_scan_config_set_nvt_selection(
config_id=<config_id>,
family="Brute force attacks",
nvt_oids=[]
)
The previous statement removes NVT family “Brute force attacks” from scan_config <config_id>.
Kind regards.