When real property is sold by virtue of an execution, and the judgment debtor or a person claiming under him since the rendition of the judgment is in actual possession of the property and refuses to deliver possession thereof to the purchaser upon demand made therefor, the court, on the application of the purchaser, may:
If the party in possession alleges under oath a title derived from the judgment debtor prior to the judgment or a title superior to that of the defendant, the writ may not issue, but the purchaser may have his remedy by an action of ejectment or the summary remedy in the Superior Court of the District of Columbia provided for in sections 16-1501 to 16-1505.
D.C. Code § 15-318