The incident sparked discussion on social media, with lawyers praising the composure shown by the bench.