President seeks law ministry’s opinion