Just a nitpick, but the constitutional court doesn't have the power to rewrite the law either. The only thing it can do is declare a certain law unconstitutional (because legally, the constitution always trumps individual laws) and then the ball is back in the court of the legislative branch which may repeal or amend the law.