504. The Government may determine each year a number of positions available to the doctoral medical training programs for students from outside Québec, on the condition that they agree to sign, before the start of their training program, an undertaking which may contain a penal clause, to practise for a period not exceeding four years in the region or institution determined by the Minister in the event that they practise medicine in Québec after obtaining their licence to practise.