This is not legal at all. I had the same issue and in the end the agent return the money.