A fugitive Peruvian Supreme Court justice accused of leading a criminal group that infiltrated the country’s judicial system was captured in Madrid on Friday and held on remand by Spanish authorities.