I don't really think there is a way. Just about every time I ally with France, once I get too powerful, they turn on me and declare me a rival. Probably just the way the AI works.