The medical community has not recommended against circumcision. They simply decided to not promote it.
Unless there is agreement within the medical community that clearly states that circumcision is harmful and should not be performed unless absolutely necessary, then a government has no right to meddle in a medical issue and must leave the decision to remain between parents and the doctors.
Now, consider that the medical community has long called cigarettes harmful, and despite warnings on boxes, they continue to be legal. And they cause cancer. Circumcision reduces incidence of problems.