LONDON (AP) — The U.K. has secured its first major post-Brexit trade deal after signing an agreement with Japan just as discussions with the European Union appeared to be on the verge of collapse. The agreement was reached only in principle and details are thin. The government said the pact will increase commerce with Japan by around 15 billion pounds, or $19 billion. Skeptics say no amount of trade deals can mitigate for the losses that may accrue if Britain does not reach a trade agreement with the EU when the current pacts expire at the end of the year. Trade with the 27-nation bloc accounts for around half the country’s total.