A court will rule whether to outlaw a planned climate protest that aims to block ships entering the world's largest coal port ...