I want to point out why mace couldn't arrest Palpatine besides the obvious "he has the republic he's too dangerous" etc
the republic saw jedi as the senate's lapdog ,as logic follows, anyone with a good reputation won't last very long against a stacked corrupt senate, especially since they will be seen as complict in the republic corruption, the greatest politicians with a clean sheet wouldn't save them anyone in universe would think that the senators were there to help jedi to take their beloved channellor it was career ending
How do you think it will go down if padme revealed to have a personal interest in the jedi because anakin is the father of the baby
Not very well especially in light of the "Jedi coup"
The sith was a faded memory from the start of the Ruusan Reformation
Sure Palpatine will save anakin and keep padme alive as a way to taunt him
But it was going to be a close thing not only would the public turn on anakin because he is the final nail in the coffin, He had shown the republic that jedi will not favor oaths or a hierachy
Think about it no one is going to trust anakin because not only did he broke his oath to the jedi but he's part of the very group people perceived as to be at the side of rich and powerful that attempted a coup
Even if he sided with Palpatine the fact he did go against the very tenets of taking no sides of his order broke any illusion that the jedi will not take sides
.even worse padme can get caught in a scandal and early labor
Considering these facts, he's very lucky he come back as Vader
Luke and Leia wouldn't have a snowballs chance of a good life if he came back as dark side anakin
Even if both done so much for the galaxy just one word of Vader being their father especially anakin Skywalker being vader
It was enough to kill both their reputations
Because who wants to be with the children of the Empire's second command who had a say in the empire's terrifying policies and draconian treatment of the galaxy