Passengers at Los Angeles International Airport (LAX) can now carry marijuana through the terminals.

The airport wrote on its website that the LAPD “will allow passengers to travel through LAX with up to 28.5 grams of marijuana and 8 grams of concentrated marijuana” in carry-on luggage.

However, the policy states that “passengers should be aware that marijuana laws vary state by state and they are encouraged to check the laws of the states in which they plan to travel.”

In 2016, California passed the Adult Use of Marijuana Act, which made it legal for adults 21 years old and over to carry 28.5 grams of marijuana and 8 grams of concentrated marijuana for personal use as of January 1, 2018.

“Based on our policy, we’re not going to arrest you or confiscate marijuana,” Los Angeles Airport Police rep Alicia Hernandez told The Sacramento Bee, noting the policy has been in effect since January.

But travelers have to be aware of cannabis laws outside of California, where possession of weed in some countries and states is illegal. So far, marijuana for recreational use is legal in nine states, including Nevada, Oregon and Vermont.