There is no universal answer and this guide will not decide it for you. Preserve both sides' contracts, secondment papers, pay and permit records, organize the facts by contracting party, actual employer, who paid, workplace, contract terms and enforceability, then consult licensed lawyers in both countries. Do not assume it must be home, and do not file everywhere at once. Consult a licensed lawyer; this is not legal advice. See
our full guide.