A judge has questioned why organisers are fighting an application to declare a planned coal port protest unlawful given a perceived intention to be arrested.