Court warns parties involved in election case to stop threatening witnesses