Anti-whaling group must keep 500 yards from Japanese ships, court rules