TORONTO -- As the date for legal recreational use of marijuana in Canada approaches, the province of Ontario announced Wednesday that people in the province will be allowed to use marijuana in any place where tobacco is also permitted.

That means recreational use of marijuana will be allowed in places other than private homes, as long as tobacco use is already permitted in the area, according to CTV News.

"We're aligning with the Smoke-Free Ontario Act," said Ontario Attorney General Caroline Mulroney. "If you're able to smoke tobacco in your home then you'll be able to use cannabis as well."

However, use of marijuana in vehicles or boats that are being operated will not be allowed.

The legal use of recreational marijuana is set to begin on Oct. 17 and will allow anyone over the age of 19 to use cannabis in Canada. Ontario has also announced it will not put a cap on the number of marijuana businesses in the province meaning there will be a free market for the sale of marijuana in Ontario.