LONDON (AP) — WikiLeaks founder Julian Assange says he will accept arrest by British police if a U.N. working group investigating his claims decides that the three years he has spent inside the Ecuadorean Embassy doesn’t amount to illegal detention.

Writing on WikiLeaks’ Twitter account Wednesday night, Assange said if the U.N. panel finds he has lost his case against the United Kingdom and Sweden then he will turn himself in to police at noon on Friday.

“However, should I prevail and the state parties be found to have acted unlawfully, I expect the immediate return of my passport and the termination of further attempts to arrest me,” Assange added.

The U.N. panel based in Geneva doesn’t have any binding authority to impose its findings on the British or Swedish judicial authorities, which have been involved in years of legal wrangling involving Assange.

Its decision could, however, influence how aggressively Swedish prosecutors pursue Assange for questioning about allegations of sexual misconduct.

Assange voluntarily took refuge in the Ecuadorian Embassy in London to avoid extradition to Sweden where two women have accused him of sexual assault.

He has said his main legal concern is a possible indictment against him in the U.S. on charges related to WikiLeaks’ release of government cables.

He has expressed the fear that British and Swedish authorities plan to send him to the U.S. to face charges against him there.