While marijuana use continues to gain social and even legal acceptance throughout a growing portion of the United States, it remains strictly prohibited for U.S. military personnel serving, living, or even visiting states that have done away with the drug’s prohibition. In America’s more progressive neighbor to the north, however, recreational marijuana use is slated to become legal for everyone in October — and that includes members of the nation’s armed forces.

The broad legalization of recreational marijuana use in Canada poses some interesting challenges for military leaders that now find themselves tasked not only with shifting policy in a manner that allows for a mood altering substance that was previously prohibited, but also with managing the perceptions of allies engaged in joint operations all around the globe.

Canada is the first G7 nation, and only the second developed nation in the world, to pass specific legislation legalizing the recreational use of marijuana. As such, Canadian military leaders have taken a number of steps aimed at assuring allies that, while Canada may have legalized marijuana, their troops will not be glassy eyed and munching on Cheetos in any combat zones.

Some of the new policies established in a directive released on Friday sound quite a bit like rules pertaining to alcohol consumption in the U.S. military — service members are prohibited from using marijuana within 8 hours of duty, for instance. Some others are unique to the drug, however. Service members are barred from marijuana use for 24 hours prior to the use of any weapons system or vehicle, and for 28 days before serving aboard a military aircraft.