If it is discovered that this is illegal public transport then the illegal operator is also responsible.
If it is discovered that this is illegal public transport then, de facto, it is a private flight. If the pilot only had a PPL how can it be anything else? He could pretend he had a CPL, or ATPL, or fly rockets for NASA - doesn't change that fact.