A Sydney court has been told a man accused of raping a Sydney woman last weekend is a member of the Nepalese royal family.

Police say 21-year-old Amit Hamal walked into the bedroom at a Rose Bay home on Friday night when he went to drop off food.

He is a delivery driver for the Bayleaf Restaurant.

It is alleged he found the 44-year-old woman sleeping and raped her before running away.

Prosecutors told the court they will lay more charges, saying the offence happened while the victim's husband and children were in the house.

But the defence lawyer says the sex was consensual.

Hamal was arrested at Sydney airport last night, but his lawyer said he had a good reason for buying a one-way ticket overseas as he was heading home to see his sick father.

Hamal's wife was in court for the hearing.

The magistrate has refused bail.