Observing that military discipline will be affected if there is an army with "completely loose morals", the Supreme Court on Tuesday ruled that the armed forces can take action against their officers for adulterous acts and decriminalisation of adultery would not stand in the way of initiating disciplinary proceedings.