I know of hundreds of Catholics who have joined the Masons, despite the prohibition of the Church.

The Catholic Answers

You may know of many. Those who have done so have preferred the benefits of Masonry to the principles of their religion, selling their birthright, as did Esau, for a bowl of temporal porridge. They have cut themselves off from their Church, and deprived themselves of the right to the Sacraments. Law is law. If they want to be Catholics, they must submit to the laws of the Catholic Church. No one will compel them to do so, but if they will not, you cannot blame the Church for her refusal to regard them as practical members.

Radio Replies Volume 1 by Rev. Dr. Leslie Rumble MSC and Rev. Charles Mortimer Carty