U.K. law firms will be able to keep their Seoul offices if the U.K. leaves the European Union, as Britain and South Korea agreed to a post-Brexit free trade agreement.

On Monday, U.K. secretary of state for international trade Liam Fox signed a joint agreement in Seoul with Korean minister for trade Yoo Myung-hee, stating there would be trade continuity between the two countries in the event that Britain leaves the EU later this year. In the meantime, the U.K. will continue to be covered by the EU-Korea FTA agreed in 2011.