If this is not actually illegal, it certainly appears to be a sharp practice.
disapproval You can use sharp practice to refer to an action or a way of behaving, especially in business or professional matters, that you think is clever but dishonest. He accused some solicitors of sharp practice