Malaysians detained for smacking child

As a Malaysian child myself, I don’t think smacking a child is anything so terrible so that it would warrant detention and the removal of said child to a foster home. Overreaction is what I think Swedish authority did. Did any one thought of asking if the children want to go to a foster home? I definitely wouldn’t. Even though my mum did smacked me as a child, she loved me and cared for me.