I'm not sure this would work correctly because the usual order of NSS databases as defined in /etc/nsswitch.conf is "files sss". That way, /etc/groups is queried first and only if the group is not found in files, the sss source is queried.
Indeed. Thank you.