Killing dogs for meat illegal, rules South Korean court