And deriving from principles in two basic laws on human rights enacted in 1992 , Mr. Barak granted the Supreme Court the authority to invalidate parliamentary legislation that contradicted the basic laws .