The example works; it must be because a single ! doesn't expand to anything.
Only backslash (\) and single quotes can quote the history expansion character.
where the newer man page says: Only backslash (\) and single quotes can quote the history expansion character,
but the history expansion character is also treated as quoted if it
immediately precedes the closing double quote in a double-quoted string.
Thanks for pointing this out!