can a legal guardian or parent prevent second legal guardian or parents from leaving the country
question not clear. If they have court ordered rights then yes you need a court order or their consent.