"The right side of history" is for politicians to pursue, not for judges. They aren't supposed to make policies or create laws, their job is to apply the laws. If they do their job correctly, and you disagree with the constitution and therefore also with their decisions, that should never be an issue for them.