Japan declared war and invaded Asian British colonies simultaneously with the attack on Pearl Harbor.
https://en.wikipedia.org/wiki/Japanese_declaration_of_war_on...
OK, I found the bit I was remembering:
The UK actually declared war on Japan nine hours before the U.S. did, partially due to Japanese attacks on Malaya, Singapore, and Hong Kong, and partially due to British Prime Minister Winston Churchill's promise to declare war "within the hour" of a Japanese attack on the United States.[1]
I had forgotten the part about the attacks on Malaya, etc.
[1]: https://en.wikipedia.org/wiki/Attack_on_Pearl_Harbor#Afterma...
Hitler had a mutual defense pact with Japan. But he didn’t have to declare war on the US. It was one of his greatest blunders. Had the US not declare war on Germany, or delayed it for a year or two, Germany might have been able to finish off the Russians and cement their control of Europe.
Something like that anyway. It's been a while since I read up on all of this.