Nice to hear that it was their mistake!
If you’re already going to court, you should try to sue them for wasting your time / possible wage loss due to appearing in court.
Although it might end up causing you more money in the end.