NSW Police has prevented a planned two-day blockade of the Port of Newcastle after they escalated the matter to the state’s highest court.