Already by mid-century there are instances of upper-class men being convicted by trials of their peers.
The determining factor was whether or not the duel took place in the heat of the moment; the law tended to be much more lenient on unpremeditated duels.