Jair Bolsonaro
Supporters display a giant banner with the likeness of Brazil's new President Jair Bolsonaro, during his inauguration in Brasilia, Brazil, Tuesday, Jan. 1, 2019. (AP Photo/Silvia Izquierdo)

SAO PAULO (AP) — Brazil’s new president on Wednesday blasted the U.N. migration pact — a deal he has promised to pull out of.

The far-right president said on Twitter that he wants to ensure immigrants to Brazil sing the national anthem and respect the country’s culture.

READ MORE: Brazil’s new “Trump-like” president targets minorities on 1st day in office

The U.N pact rules out mass deportation policies and deems the deterrence of immigrants should be only a last resort.

Bolsonaro said he won’t reject help for those crossing the border, an apparent reference to Venezuelans fleeing an economic and political crisis at home. In recent years, tens of thousands of Venezuelans have crossed into neighboring Brazil.

Brazil has also welcomed Syrian and Lebanese refugees in recent years, along with Haitians, Bolivians, Paraguayans and Peruvians seeking better economic opportunities.

Bolsonaro argued that Brazil and migrants both will be safer if the country adopts its own rules.

“Immigration cannot become an indiscriminate act. It is imperative for us to establish proper criteria for each country,” said Bolsonaro, a fan of U.S. President Donald Trump. “If we control those who enter our homes, why should it be different with Brazil as a nation?”

READ MORE: Brazil elects far-right president, worrying rights groups

Brazil’s outgoing government signed the U.N. pact weeks before Bolsonaro took office on Jan. 1. As soon as the deal was signed in Morocco, the then president-elect said his administration would discard it.

Brazilian media reported several embassies received communication to inform them Bolsonaro’s decision to leave the pact. Brazil’s foreign ministry did not reply to requests for comment on Wednesday.

Maristela Basso, a law professor at Sao Paulo University, said that despite the heated rhetoric, the move wouldn’t likely be adopted quickly. She said a formal withdrawal would need to be approved by Congress, where Bolsonaro’s party controls about 10 percent of seats in the lower house and has 4 of 81 seats in the Senate. Congress doesn’t convene until February.

“The president cannot leave the pact just with his pen,” said Basso.

Former Foreign Minister Aloysio Nunes, who represented Brazil in the pact negotiations, recently said on Twitter that the pact does not “authorize indiscriminate migration” and “seeks to serve as reference for the organization of migration influxes.”

READ MORE: Trump administration tries to block legal immigrants from qualifying for citizenship and green cards

Camila Asano, a coordinator at human rights nonprofit Conectas, said the move not only affect immigrants to the South American nation, but could also impact more than 3 million Brazilians immigrants.

“Nowadays there are more Brazilians living abroad than foreigners living in Brazil, Asano said. “This move undermines one of Brazil’s main international credentials; we are a country of immigrants and our migration policies were seen as a reference.”