In ethtereum, if a validator missbehaves, their funds are confiscated/slashed. However how is that truly applied? Do the opposite validators vote and if theres a majority, some validator looses his funds? Or is it extra technically applied? How does it work on the blockchain degree?