Your comment made me think of something that recently came up in our game. Can you make an alliance with someone you are currently at war with? We weren't sure.
You agree to end the war and an alliance. The alliance cannot be accepted unless the peace is also accepted.