A judge has barred a planned celebration marking the anniversary of the 1964 Brazilian coup which overthrew the democratic government of the elected leader Joao Goulart. President Jair Bolsonaro had planned to celebrate the anniversary of the start of the military dictatorship on Sunday.