A man is standing in front of a judge and being sworn in as a witness.