The film, which stars Sushant Singh Rajput and Sara Ali Khan, is set to release on December 7.
Prakash Rajput, president of International Hindu Sena, had filed the plea claiming that the movie hurt the sentiments of Hindus as it featured a Muslim boy falling in love with a Hindu girl.
In the petition, he alleged the movie also featured kissing scenes at Kedarnath, a revered site, which also hurt the sentiments of Hindus.
Coming down heavily on the petitioner, the court said the PIL was nothing but a "publicity stunt". It also imposed a fine of Rs 5,000 on him.
Directed by Abhishek Kapoor, the movie shows a wealthy Hindu girl falling in love with a Muslim guide during a tour of Kedarnath in Uttarakhand.