I'm using GIMP 2.10.2 and there is an option here for Colors>Desaturate>Color To Gray which works nicely by removing unnecessary gray shades from the photo.
However, I have about 200 photos which need to be processed this way, so I tried to use Python-Fu scripts to batch process multiple files. However, I can't seem to find this particular script to call this function.
There is GIMP-drawable-desaturate which doesn't really work too well. Does anyone know of a PDB script for the "Colors>Desaturate>Color To Gray"