That doesn’t contradict what I’ve said. The clause concerns the responsibilities of the Federal government. The only one, therefore, that can violate it, is the Federal government, if they were to fail to uphold those responsibilities.
The clause means that the federal government is obligated to ensure the states provide their citizens with a republican form of government. So they have every right to rule a state law unconstitutional on that basis.