爷爷把人腿闯断了被人告上法庭算违法吗