A Supreme Court will announce whether a huge climate protest to blockade a major coal port can legally go ahead.