Former Barcelona president Josep Maria Bartomeu has said that the club had an “agreement in principle” to sign Vinícius Júnior he signed for rivals Real Madrid.