Inspecting a guard of honor during an official function