Human Right are certainly a progress compared to middle age witch tortures and stalinistic despotic abuses.
But as all dogmas, maybe they should be questioned. Setting pirates free after expensive capture, does that not encourage piracy and create human suffering? Potential victims of the next attack of the same pirates? Victims of other pirates who join the profession, because they see that their biggest risk is spending a day on a war ship, getting fed and then sent back home? Everyone in the world who pays higher cost for higher insurance premiums due to piracy?