FitContributor for session, lapin an record data.

There is something completely unclear concerning writing data to fit files.

In the ressources, it is possible to declare that the same fit ID can be used for a session, a lap or for a 1s recording.

When I try to use this ID for all 3 kind of data, I get a runtime exception. Is this allowed or do I program something wrong?