 He decided to focus his attention on the Kingdom of Portugal, which consistently violated his trade prohibitions.After defeat in the War of the Oranges in 1801, Portugal adopted a double-sided policy.At first, John VI agreed to close his ports to British trade.