LOS ANGELES (CBSLA/AP) — Here’s another thing travelers can consider bringing when a trip takes them through Los Angeles International Airport: marijuana.

Just be careful about carrying it onto the plane.

READ MORE: Pelicans Top Clippers Again, 123-104; Valanciunas Scores Career-High 39,

A written policy posted by airport police after California legalized marijuana in January says small amounts may now be carried into one of the world’s busiest airports. Travelers must be 21 years or older and can bring 28.5 grams of marijuana and 8 grams of concentrated marijuana “for personal consumption,” according to LAX.

But police also warn that pot possession remains a federal crime and TSA agents may catch you before you get to the plane.

If they do, TSA spokeswoman Lorie Dankers said Thursday they’ll turn you over to local authorities.

READ MORE: Chanukah Celebrations Stress Message Of "Light Over Darkness" In Trying Times

Officer Alicia Hernandez says authorities will let you go at LAX.

Still, travelers should be wary.

LAX police note marijuana laws vary from state to state. They encourage cannabis consumers to do their research before traveling.

MORE NEWS: Authorities Investigating Fatal North Hollywood Shooting On Monday Evening

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)