Taking oaths to respect positive laws

Q 3: Could you please give us the legal ruling regarding some Muslims who take oaths in the name of Allah to respect man-made laws, even though these laws contradict the Shari‘ah (Islamic law)? (Part No. 1; Page No. 791) Is this among the forbidden acts? As the policy of some legislative councils stipulates that a member must take such an oath when they are appointed to an official position. Please, explain the legal ruling on this?

A: It is impermissible without taking an oath; how will it be, then, when one takes an oath by Allah to do so! No doubt, the sin will be greater with an oath taken.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.