Sounds like Sensei X was an A-hole!!!
Instructors have a duty of care. There are no bad students, only bad teachers. The Sensei should have instructed the "bad" student. A lot of beginners make mistakes, and you should help them learn from these.
The only bad heart belongs to Sensei X who failed!!!