Justice Sandeep Mehta says the court’s judgment should not be understood as foreclosing future constitutional scrutiny if compelling scientific, medical or empirical evidence emerges