I, too, have come across this puzzle in the past and (as previously stated) "the rules" are imparted by a neutral party; often the storyteller.
In this case, around all this discussion by those who love language there is an important point that has been missed.
Suppose, in reality, one of the heads always tells the truth and the other always remains in a reclined position*?

*lies, is lying