You always treat monarchs as if they were a plural, because they represent their nation all of the time.
Hence the “were queen.”
No, it would be the same if I said, “If I were 20 again ...”. It’s a conditional verb form.