It's there because on some systems all the args are passed as one. -S splits them out. You can try this on Linux and env even warns you about it:
# cat test.py
#!/usr/bin/python3
import sys
print(sys.argv)
$ cat test
#!/usr/bin/env test.py foo bar baz
$ PATH=. ./test
/usr/bin/env: 'test.py foo bar baz': No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
with -S, env does the right thing, and you get this: $ cat test
#!/usr/bin/env -S test.py foo bar baz
$ PATH=. ./test
['./test.py', 'foo', 'bar', 'baz', './test']