According to Krazy Kip, anything that keeps its form when 'dropped on a table' does not meet the definition of a liquid or gel. Word is still out on how Kip plans to define ice
Given that, your chocolates should be fine unless you run into a screener with a sweet tooth - in which case they may decide to confiscate your chocolate for their own personal consumption later on. This type of behavior has been reported on our forum before - screener theft out of your hands and into theirs right in front of you - for security purposes, of course
If hassled, demand a supervisor. If the supervisor does not intervene to your satisfaction, demand a "Coordinator" be summoned from your airline - they will help intervene in the dispute if necessary.