CTV News has learned the identities of two Canadian Navy crew members detained by Japanese police earlier this week.

Three crew members of HMCS Winnipeg, which is based out of CFB Esquimalt, were detained on allegations of drug use while the ship was in the Port of Tokyo.

Ian Greenwood, the son of retired Rear Admiral Richard Greenwood, faces a charge relating to drug use and remains in custody.

A civilian fitness instructor from the ship has also been charged with drug use.

Both were charged after Japanese police administered drug tests, but the charges have yet to be proven in a court of law.

A third Canadian, Jack Lawson, was taken into custody and subsequently released by police after a drug test.

Lawson, son of recently retired Chief of Defence Staff Thomas Lawson, faces no charges.

A source told CTV News cocaine may have been the drug in question, but that has not been confirmed.

Ottawa says it is giving consular support to the arrested Canadians, but they could be facing a long wait in the Japanese justice system.

Japan and Canada do not currently have a deal in place to handle the transfer of military members in this kind of situation.