If you don't get the money back it would classed as a fee and fees are illegal. I would get clarification that you are getting the money back regardless of outcome, if they say no then they rebadged a common fee they used to charge to try and scout the law
Aside from the deposit (which should be protected within 30 days of payment) they cannot charge you anything)