Lucius knew that this was perfect, but Hagrid was overqualified for the position as a groundskeeper and it would be adequate that he becomes a TA for two years until professor Kettleburns retires. And since Kettleburns didn’t have any assistance, it would be perfect.