A person dressed as a court jester during a theatrical performance .