The office of Attorney General Yehuda Weinstein says it will examine the legality of Prime Minister Benjamin Netanyahu's agreement with Yisrael Beiteinu leader Avigdor Lieberman to hold onto the Foreign Ministry portfolio for him until his corruption trial is over, pursuant to a request by the good-governance group Ometz.