The situation itself was actually quite funny, but it showed a certain contempt for the teacher. The teacher warned the student that she had told him several times not to address her in this way. But the student still replied, "Okay, boss." I myself do not know how I would behave as an educator in such situations. Unfortunately, it would probably only end with a reprimand.
But the student still replied, "Okay, boss."