The result in every case is practically determined by the initial analysis about the law's rationality. If the law is determined rational at the outset, it will probably be constitutional. If not, it probably won't be. But this makes a (further) mess of the fundamental rights doctrine, the underlying point of which is to say that some rights are so important they cannot be denied even if the government has rational reasons to do so.