While preparing an answer to this question, I started to wonder if Starfleet regulations apply to non-Starfleet Federation citizens.
I am aware that during its 50+ years, the terms "Starfleet" and "Federation" were sometimes used interchangeably. Although Starfleet is not a 100% military force in terms of contemporary politics and armed forces, it is as close as any organization in the Federation could be.
We know that both Federation and Starfleet have their legal acts and codes, examples:
Federation:
- Constitution of the United Federation of Planets
- Federation Uniform Code of Justice
- Federation Judicial Code
Starfleet:
- Starfleet Charter
- Starfleet General Orders and Regulations
It is fully understandable that the members of Starfleet are subject to both Starfleet and Federation law.
It will not be argued that non-Starfleet personnel or civilians on board Starfleet ships, bases, or facilites are also subject to Starfleet regulations, in a similar manner as the UCMJ may apply to non-military.
But what about non-Starfleet Federation citizens (or Federation subjects, in terms of jurisdiction)? Do Starfleet orders or regulations, like the Prime Directive or General Order 7, apply to them as well?
Has there been an example of a Federation citizen being confirmed breaking a Starfleet law, while not being a subject to Starfleet?