Cipriano Ribeiro Freire (1749–1824), penandatangan Portugis