Among 45, 25 were men and 20 were women who were celebrating successful completion of their law degree.
Youngsters belonged Pravin Gandhi College of Law in Vile Parle.
Police had booked students on charges of drinking alcohol without permits, being scantily clad, and breaking noise regulations.
After undergoing medical tests at the government hospital, the students and bungalow caretaker Dilip Yadav were produced before a magistrate court at Vadgaon-Maval on Thursday morning.