No, the opinion expressed by the Supreme Court is only advisory and not a judicial pronouncement, hence not binding on the President.