High court rules for military funeral protesters