Metro Manila (CNN Philippines, April 18) — President Rodrigo Duterte admitted on Wednesday he ordered the Bureau of Immigration (BI) to probe Australian nun Sister Patricia Fox's "disorderly conduct," which led to her temporary detention.

"I ordered her to be investigated - not deported at once, not arrested - for disorderly conduct," he said during the Armed Forces of the Philippines (AFP) change of command ceremony in Camp Aguinaldo.

"I take full responsibility, legal and otherwise for this incident," Duterte said. "Beginning today, I will decide who gets in, who gets out. You want to question that, you go to court and I will follow."

The President, who has previously cussed in public, said Fox has a "foul mouth."

" 'Wag mong papasukin kasi madumi ang bunganga ng madreng 'yan. (We should not let her enter the country because the nun is foul-mouthed. You don't have the right to criticize me," the President added.

Duterte's sermon went on: "Stick to your own religion and try to correct the abuses within your organization, to address homosexuality and malpractices and adulterous priests."

He asked the left not to invite foreigners who intrude on the country's sovereignty.

He said the only reason she was released was because she was not caught in "flagrante delicto" - meaning she was not caught in the act of berating the government.

Duterte said he and Fox do not share the same God. "My God has common sense. Your God does not have it," he said.

"We respect the prerogative of the President but we appeal for him to withdraw his order because Sister Pat did not commit any disorderly conduct," said Fox's legal counsel Jobert Pahilga.

He is confident that authorities will find no basis to deport her.

CNN Philippines' Anjo Alimario contributed to this report.