And since he continued to affirm the oath, at that point he became a liar, and violated the scout law AGAIN (..morally straight..). So he violated the oath not in just one way, but in two.
When he became apostate, he should have dropped out of the Scouts.