The court hearing any appeal shall order and direct the Department to make such entries in the registration records as the law and the facts shall warrant.