Hi Lili -
If I might suggest, try hand-carrying the chocolate in your purse, attaché, or another such container. You are allowed one personal item after all.
When visiting North America I sometimes lug a container roll or 2 of Toblerone dark chocolate bars that way. It sits inside a Rimowa Notebook case, which rides on top of my Rimowa carry-on case. Never charge anything extra, and they don't " get up and walk away " with the baggage handlers if checked.