Sword for ceremonial court security?

Usher of the Black Rod in Australian Parliament which is some form of staff. From 1972-1996 carried a sword.

With William H. Macydispensing justice.