High Court sentences man for sitting on toilet during court proceedings