Yes. It looks weird for several reasons, but it is correct. "Appeals court" is a compound noun, and so acts just as though it were a single word. There is implicitly a "to be" in between "money" and "returned". The comma after "however" is probably unnecessary, but harmless.
The only thing which particularly bothers me is the word "didn't". It's not wrong, but it's kind of incomplete -