59The Court has acknowledged that the objectives capable of justifying such restriction of the freedom to provide services include preventing the possible risk of seriously undermining the financial balance of a social security system, maintaining a balanced medical and hospital service open to all, maintaining treatment capacity or medical competence on national territory, and making it possible to create a plan seeking, first, to ensure that there is sufficient and permanent access to a balanced range of high-quality hospital treatment in the Member State concerned and, second, to ensure cost control and to prevent, as far as possible, any wastage of financial, technical and human resources (see, by analogy, Elchinov, paragraphs 42 and 43 and the case-law cited).