Then the family’s wishes prevail, and the mayor should have been there.
Since the officers were outside, I think it was ok for them to register their displeasure towards the mayor.
Sorry, but those outside are as much a part of the service as those in the church.