Well somebody or some bodies stood for the law and approved it. They needn't all go to jail or it would become a neat implement for beheading a government, but allowing them to create such laws without any repercussions is wrong.
Umm... that is exactly how an parliamentary democracy works. The parliament can enact any law. Yes, many such systems contain laws that overrule all other laws and are often harder to change. These are often called constitutions. But I can't recall any constitution that could not be changed.