that's never been permitted. can either very carefully manually edit the config with viconfig and make sure you don't orphan any references, or backup the config and do the same edit and restore it.
I imagine it's easy to miss something and find yourself without a gateway (or worse).

Steve