Would depend if it’s carry on or checked in I suppose.
If it’s carry-on, they might confiscate it in the worst case scenario I guess. Probably depends on the mood of the officer.
If it’s checked in, I doubt it would have any consequences - you can legally buy and store them at home, no...