Prince Albert of Great Britain was given the title of Prince Consort in 1857.
Suppose Albert had been made Prince Consort in 1845. Would he have been more acceptable?
In June 1840, while on a public carriage ride, Albert and the pregnant Victoria were shot at by Edward Oxford, who was later judged insane. Neither Albert nor Victoria was hurt and Albert was praised in the newspapers for his courage and coolness during the attack.
Albert was gaining public support as well as political influence, which showed itself practically when, in August, Parliament passed the Regency Act 1840 to designate him regent in the event of Victoria's death before their child reached the age of majority.
So creating him Prince Consort as early as 1840, would not be completely ASB, with the government, giving him the title in the Regency Act 1840.