No.
Any country can declare war on anybody else. What matters is can you back it up?
No army in any western country can declare war.
In both.
germany
no
Austria-Hungary.
Pearl Harbour.
Germany
yes
On Japan.
The Austrian-Hungarians were first to declare war with the Serbs.
an act of terrorism