When and how does restructuring take place after M&As?

According to the Customs Act, the employment of the worker has to be ransferred and M&A alone is not a justifiable reason enough to undertake a restructuring.However, if restructuring is unavoidable, and meets the necessary requirements for under-taking a justified restructuring procedure, the two parties can merge after the restructuring or do the restructuring procedure after the merger.