Regulator takes SA wind farms to court