 On 5 May 1988 , Lefebvre signed an agreement with Cardinal Joseph Ratzinger ( the future Pope Benedict XVI ) , who was then Prefect of the Congregation for the Doctrine of the Faith , to regularize the situation of the Society of St Pius X. The cardinal agreed that one bishop would be consecrated for the society . 
