Justice Manmohan Singh said, in an order made available Monday, that the curbs were not applicable to the theatre version of Ranbir Kapoor and Deepika Padukone starrer, which was released in the cinema halls last week.
The court also issued notices to the director, producer and dialogue writers of "YJHD" and posted the matter for hearing July 16.
The court's order came on an injunction suit filed by Hamdard National Foundation, the manufacturer of Rooh Afza.
The manufacturer claimed that the product was a household name in the country and outside India and the film contained some "objectionable" dialogues about the Unani recipe.