Not in France. The law prohibits rambling, which is totally different. If your dog remains within sight and voice of you, he is not considered to be raving. Therefore, you cannot be fined. On the other hand, some municipalities have specific by-laws where it may be mandatory to keep your dog on a leash.