Teaser 3065: Members of the jury

From The Sunday Times, 20th June 2021 [link]

A jury had twelve members, all with different ages (at least 20 but not more than 65), except that two were twins with a common age over 40. The average age was a prime number. A counsel objected to one of the members and he was replaced by another with the result that the average age was reduced to another prime number. Between the two juries, there were twelve different ages and they formed a progression with a common difference (e.g., 1, 4, 7, 10, 13, etc. or 6, 13, 20, 27, 34, etc.,). None of the individuals had a perfect square age, and the replacement jury still included both twins.

How old were the twins?

[teaser3065]