Guatemala's highest court has halted the government's request that Sweden remove its ambassador.

The Constitutional Court ruled Tuesday that the administration of President Jimmy Morales must follow established international rules in resolving the issue.

In early May, the government asked Sweden and Venezuela to remove their ambassadors and accused them of interfering in Guatemala's internal affairs.

Swedish ambassador Anders Kompass was given 30 days to leave after he announced Sweden's financial support for a United Nations-sponsored commission investigating corruption in Guatemala.

The commission, which goes by the initials CICIG, had accused President Jimmy Morales of corruption related to alleged illegal campaign financing while he was secretary general of his party.

Morales subsequently tried unsuccessfully to expel the commission's head, Ivan Velasquez, from the country.