§ 5229. Enforcement before judgment entered. In any court, before a\njudgment is entered, upon motion of the party in whose favor a verdict\nor decision has been rendered, the trial judge may order examination of\nthe adverse party and order him restrained with the same effect as if a\nrestraining notice had been served upon him after judgment.\n