Two men accused of a home invasion where one allegedly used a chainsaw to assault the 63-year-old occupant have claimed they had only entered the Annandale unit because they thought it was a brothel.

But a prosecutor has questioned the pair's motives in Newtown Local Court on Tuesday, adding a search of the men found "no means of paying for a prostitute" other than a Coles Myer gift card.

"I'm not sure how successful [they] would have been," Sergeant Luke Johnston told the court.

Justin Clarke and Jayson Nichols, both 21 from Quakers Hill, will remain behind bars for Christmas after being refused bail following their arrest in a nearby pub on Monday night just hours after the alleged chainsaw attack took place.