This whole bit is made all the funnier by knowing that all of the guards were just random extras who weren’t told what was going to happen only that they weren’t allowed laugh at any cost as they wouldn’t be payed if they did.
At uni I took a screenwriting course from THIS VERY GUARD EXTRA (who went on to contribute to some of the Python stuff), who confirms this and also that Michael Palin would use different ridiculous names in every take, so they couldn’t even prepare themselves for hearing it.
“There are only patterns, patterns on top of patterns, patterns that affect other patterns. Patterns hidden by patterns. Patterns within patterns. If you watch close, history does nothing but repeat itself. What we call chaos is just patterns we haven’t recognized. What we call random is just patterns we can’t decipher. what we can’t understand we call nonsense. What we can’t read we call gibberish. There is no free will. There are no variables.”