War declaration is an act of aggression and shouldn’t be possible before attacks are allowed.
Due to an unrelated timing bug, this leads to scenarios like below where a family loses the element of surprise.
The timing bug will need to be fixed as well, but it would have been a good failsafe if the rules for war declaration matched the rules for attacks.
Follow the status of this bug in The Roadmap.