Leonardo Dicaprio has reportedly been threatened with deportation by the Indonesian government, after he criticised the country’s palm oil industry in an Instagram post. The Oscar winner visited Indonesia last week for his charity, ‘The Leonardo DiCaprio Foundation’, which is working to help protect the rainforest of the Leuser Ecosystem.

On Instagram DiCaprio posted a picture of himself posing with endangered Sumatran elephants and wrote: “The lowland #rainforest of the Leuser Ecosystem are considered the world’s best remaining habitat for the critically endangered Sumatran #elephant. In these forests, ancient elephant migratory paths are still used by some of the last #wild herds of Sumatran elephants.”

More: Jennifer Lopez Joins James Corden For 'Carpool Karaoke' And Texts Leonardo DiCaprio

“But the expansion of Palm Oil plantations is fragmenting the #forest and cutting off key elephant migratory corridors, making it more difficult for elephant families to find adequate sources of food and water.”

“The Leonardo DiCaprio Foundation is supporting local partners to establish a mega-fauna sanctuary in the Leuser Ecosystem, last place on Earth where Sumatran orangutans, tigers, rhinos and elephants coexist in the wild.”

But DiCaprio’s posts have reportedly angered Indonesian officials and he could end up being deported. “If there are statements that discredit the Government and the interests of Indonesia, he could be deported,” immigration director-general Ronny Sompie reportedly told Republika.

More: Leonardo DiCaprio Calls Out Republican Candidates On Climate Change

“If he is in Indonesia for other purposes, by engaging in activities that disrupt public order and harm the interests of Indonesia, immigration authorities are ready to deport him.” DiCaprio is reported to have already left the country, but he has so far not responded to Sompie’s comments.