Students at an Indian law school are preparing to study the enslavement of house elves, discrimination against werewolves and conditions inside Azkaban.

This December, the National University of Juridical Sciences in Kolkata will run its first classes on the legal principles of the Harry Potter universe.

The course, entitled An Interface Between Fantasy Fiction Literature and Law: Special Focus on Rowling’s Potterverse, is the creation of Shouvik Kumar Guha, an assistant professor. Those enrolled are “expected [to] have already read all the books at least twice, if not more”.

The curriculum asks senior students to apply both Indian and wizardry legal principles to topics such as the “unforgivable curses” – torture, murder and possession of another person – the rules of the broomstick sport Quidditch and an alleged murder by Sirius Black.

Along with breaking up the the study of stodgier legal subjects, the course is also intended to encourage students to think critically about Indian social problems.

Discrimination, torture and slavery are still endemic problems in many parts of India. How India’s Hindu majority should regard the country’s substantial minorities is a major faultline, echoing a debate in the books about how wizards ought to exist alongside muggles – people without magical abilities.

“In India right now the political situation is divisive,” Kumar said. “I have my own political leanings, but it would be inappropriate to apply them in class. So I am trying to use something on which our students will not have any previous value judgments.

“Our students believe the discrimination voiced in the Potter-verse is something they all agree is wrong. But in real life there will be things that some see as discrimination and which others do not.”

The course will examine how, in the novels, creatures such as elves, centaurs and giants are marginalised in mainstream society and how the Daily Prophet newspaper becomes an outlet for official propaganda.

“Then they can see when they encounter scenarios in the real world, maybe it will help them think a little bit,” Kumar said.

More than 500m Harry Potter books have been sold worldwide and it is as wildly popular in India as elsewhere. All 40 spots on the course have already been filled.