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.
Ooh La Lana! WWE Diva flaunts sexy curves in these 30 pictures
Photos: Salman Khan returns from Jodhpur to Mumbai
15 'peach' perfect photos of Priyanka Chopra at People's Choice Awards 2017
62 going on 16: These photos of Rekha prove she is 'forever young'
Spotted: Alia Bhatt, Ranveer Singh, Neha Dhupia in Bandra