It declared war on Britain and the US, and was recognized by Axis powers.