Justice V Chitambaresh permitted police to remove such students on complaints by Principals or Heads of Departments.
The High Court was dealing with a complaint filed by two students of Cochin University of Science and Technology (CUSAT), complaining of loss of working days due to agitations in the name of students' rights and righteousness.
The judge said that disciplinary proceedings can also be initiated against erring students who disrupt academic activities.
He also said no student has any right to obstruct other eligible students from entering classrooms or college under the guise of strike.
Students who choose to participate in a strike or dharna may walk out of the classroom at the risk of their attendance without disrupting ongoing classes attended by willing students, he said.
Teachers can take classes even if there is one student in the classroom, the Court said.