When a count in an indictment sets out an offense which includes other offenses of which the accused could be found guilty under the provisions of Article 814 or 815, the court shall charge the jury as to the law applicable to each offense.
When a defendant has specially pleaded insanity in accordance with Article 552, the court shall charge the jury with respect to the law applicable thereto.