The generally accepted narrative has Paris killing Achilles by shooting him in the heel prior to the episode of the Trojan Horse and the sack of Troy. So the joke, while lame, makes sense… Achilles was not in the horse, because he was dead from an injured heel.