I would never plug a sewage pump into a GFCI (nor a sump pump, garage door opener, refrigerator, freezer, etc.) …code or no code.
I think the GFCI technology nowadays is far superior to before.
I was a little leery too, but I’ve had a macerator pump and 3 garage overhead doors and freezer plugged into GFCIs for 11 years at this house with no problems.
I agree although I still won’t put my sump pump on a circuit with GFCI protection. A sewer pump can be used with an alarm so that you would have an indication that it’s offline. Modern GFCI’s rarely suffer from the nuisance tripping that they once did.
I understand your point or view and used to think the same way, but as @lkage mentioned, the GFCI technology is much better and more reliable today than in the past.
Also, that’s why we have battery or water driven back-up sump pumps, battery back-up equipped garage door openers, and GFCIs that have built in alarms in the event that it trips while it’s energized.
Yes there are alarms but they’re useless if you’re not home and your basement is filling with water. For a sump pump the battery backup ones aren’t much good for a prolonged outage. I do like the idea of a water driven backup sump pump. I actually installed one in my last house.