When considering whether to grant a licence , the competent authority of the Member State shall take into account all relevant circumstances and , in particular , the legitimacy of the intended use of the substance .