This question concerns the following situation commonly arising in academic research. Research is carried out in a lab which is funded by a grant. A grant comes from taxpayer money paid by a government funding agency to the university hosting the lab. The head of the lab is called a principal investigator (PI); they decide how to actually spend the money - whom to hire, what to procure etc.
It sometimes happens that the research is carried out by PI's subordinates without PI's direct involvement. When the research is published, normally only those who contributed intellectually to the research are listed as co-authors. Including someone who did not actually participate, e.g., because of their status, is called "guest authorship" and is considered unethical. However, in some fields it is somewhat common to also include the PI, with reasoning "because they allowed the research in their lab"/"because they provided the funding". Being an author is a significant perk, in terms of prestige and future career opportunities.
Could this be a crime? Could the PI be prosecuted on the ground that they received a personal favor in exchange for allocation of public money? Assume that they conducted a hire search for subordinate researchers who were supposed to come with their research proposals, and only hired those (and greenlighted their projects) who agreed give the PI a co-authorship of all their output. The PI didn't later contribute to the project, so would not warrant the co-authorship were they not the head of a lab. The research is still within the theme of the grant, so no misuse of public funds occurred.
Jurisdiction-wise, I'm mostly interested in EU and US.