A Rio de Janeiro court will return the passports of three members of the Olympic Council of Ireland (OCI) and they will be allowed to leave Brazil, a source in the Rio state security services said on Friday.