The 10 were arrested on January 25, along with 77 other foreigners, in a raid on an event called the "Pub Crawl or Let's Get Wet" in Siem Reap province, home to the ancient Angkor Wat ruins.
The Siem Reap Provincial Court, which granted bail to the seven last week, had also ordered them to leave Cambodia, Yin Srang, the court's spokesman, told Reuters.
"A judge said that they must leave the country, that they must not return, and that they must not gather in a group and party," he said.
Cambodia, a conservative Buddhist country, is a popular destination for tourists back-packing through Southeast Asia.
Defense lawyer Ouch Sopheaktra said the three remaining foreigners still in detention - from Britain, the Netherlands and Norway, would soon be put on trial.
The seven released on bail and ordered out of the country had all left, Ouch Sopheaktra said, adding that the charges still stood against them in Cambodia.
The other 77 foreigners arrested were freed after being "educated" over their unacceptable behavior, police said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.