French subsidiary if a Chinese company asking for previous salary - legal? If yes, can they legally ask to see the contract?

@graham Thank you for your answer! It’s, however, not a question of lying to a question, but rather a question the prospective employers can ask or not in the first place, legally. This article https://uk.practicallaw.thomsonreuters.com/0-503-0054?transitionType=Default&contextData=(sc.Default)&firstPage=true&bhcp=1#co_anchor_a1025648 written by a French lawyer says, for example, that, "Under Article L.1221-6 of the Labour Code, information requested by an employer to a prospective employee is strictly limited to matters linked to the position and must aim at assessing his or her professional skills. " See, the phrase “matters linked to the position” is very subtle, and I’m not sure if the previous job contact and the sorresponding salaries are these “matters”. Intuitively, it doesn’t sound correct to ask for the previous contract, and the code above also seems to satisfy this. Now this could be a delicate legal issue. In the US, in many states, the employers are prohibited from asking past salaries.