BANGKOK (Reuters) - A family of 17 suspected Uighur Muslims at the center of a diplomatic tug-of-war between Turkey and China will remain in custody after a Thai court on Friday rejected their argument that their prolonged detention was illegal.

Turkey and China both claim the detainees as nationals in a dispute with potential implications for hundreds of other suspected Uighur detainees and to where they should be repatriated. The group has been in detention for a year.