Getting through security is the issue.
In an issue of Culture magazine, the editor wrote that she couldn't bring some cheeses through because the guard considered them "gel-like". They were thrown out. However, her friend, who had the exact same cheeses, had no issues.
So, it's random. There are no specific rules.