What does the criminal court discuss and decide on?

The criminal court shall decide solely on the act that is the subject of the indictment.

The criminal court only decides on the act that is the subject of the indictment.

It often happens that during a criminal trial, the court discovers other acts, but in the absence of an indictment, it cannot decide on them.