TORONTO -- Communities across Ontario cannot opt out of hosting a government-run pot shop if they are selected for a site, the provincial government said Friday after at least one town expressed resistance to having a cannabis retail location.

If a community is selected to host one of the marijuana shops, it could delay hosting the store but cannot completely opt out of having it, said Ontario's Ministry of Finance.

"As we roll-out the next phase of stores, we will continue to engage with municipalities on an ongoing basis including with those municipalities who may not be ready for a store opening in July 2018," said Jessica Martin, spokeswoman for Finance Minister Charles Sousa.

"Ultimately, our goal through a controlled model is to ensure a safe and sensible framework for cannabis legalization."

Earlier this week, a committee of the City of Richmond Hill unanimously endorsed a statement saying it was not willing to host one of the retail stores. City councillors are expected to debate the motion next week.

The community had been notified in late November that the Liquor Control Board of Ontario, which will run the shops through a subsidiary, was beginning early work to site a store in Richmond Hill. In a report from the city's municipal staff, councillors were told they would likely only have a say over the zoning of a proposed location.

Martin said the government has consulted with municipalities about its retail model through the Association of Municipalities of Ontario.

"Municipalities were involved in establishing the initial guidelines for siting stores, including achieving geographic distribution and combating illegal dispensaries," she said.

But hours later the government backtracked, telling The Canadian Press it has not decided if municipalities will be able to opt out of hosting a cannabis store.

"The LCBO will be addressing local concerns as they move forward with the siting process," Martin said in a statement Friday night. "Those conversations will evolve as more details are revealed by the federal government, including a revenue model that will allow the province to recover costs and support municipalities when dealing with issues around enforcement, healthcare, education, and social programs."

In October, Sousa wrote municipal leaders and said Ontario's store rollout aims to achieve the right geographic distribution across the province and to reduce the number of illegal marijuana dispensaries that have opened since the federal government announced it will legalize recreational marijuana next summer.

The public will also be notified about the proposed store locations and will be asked to provide feedback directly to the LCBO, he said. None of the retail stores will be located near schools, Sousa said.

The LCBO hopes to open its first batch of 40 stores by July 2018. The province plans to set up approximately 150 stand-alone cannabis stores by 2020.

All consumers will also be able to access cannabis through an online retail website.

Association of Municipalities of Ontario executive director Pat Vanini said reaction to Ontario's plan to retail cannabis has been met with anxiety by some municipal leaders who say the process has not provided them with enough information.

Some communities don't want to be part of the first wave of government-run cannabis stores, she said.

"We're at such and early stage we still haven't been able to nail down how municipal governments costs that are going to host retail facilities will be recovered," she said. "There is still, amazingly at this point in implementation, a lot of unknowns. That's what's creating some consternation."

Vanini said this isn't the first time municipalities have been forced to comply with a broad top-down government policy.

"Municipal governments have been through this willing/unwilling piece before with wind turbines," she said. "It took a while for the province to say 'We'll go where there are willing communities."

Vanini said if communities are allowed to opt out of hosting a cannabis shop, it could be an unexpected boon to the government.