No you're not. You are subject to your own laws. Unless in your example the French decide to invade you and occupy your lands.
No doubt there are quite a few planets within Federation space such as the Malcorians (TNG: First Contact). that wanted nothing to do with the Federation. In your example if that Planet was with Federation space it's inhabitants would be Federation citizens despite them not wanting to be and subject to Federation law.