Court rules against Australian sailors’ sit-in