It is important people “don’t play politics” with legislation that would ban imports from illegal Israeli settlements on Palestinian land, the Taoiseach has said.

Simon Harris cast doubt on the passing of the Occupied Territories Bill before the Dail is dissolved, which is widely expected to take place at the end of next week.

Sinn Fein and the Social Democrats have put time aside in the Dail in the earlier part of next week to enact the Bill.

But Tanaiste Micheal Martin said the Bill needs to be “substantially” amended and will not be progressed before an election is called.

The Bill, tabled in 2018, has been frozen for years in the legislative process because of concerns that it would breach EU law.

But the Irish Government has said in recent weeks that an advisory opinion by the International Court of Justice (ICJ) in the summer, which said that Israel’s occupation of Palestinian territories is illegal under international law and states have an obligation not to facilitate it, has changed the context.

Speaking at an event in Portlaoise on Friday, Mr Harris said the Bill needs to be re-examined and amended to comply with advice from the Attorney General.

“What the Government has endeavoured to do is to create a consensus in the Dail, in our national Parliament, for a need to legislate in this area,” he added.

“What is happening in Gaza is unimaginable, unconscionable and is clearly a war crime.

“Every country needs to use every lever at its disposable to maximise the pressure to bring about a ceasefire.

“Ireland is taking real, practical action in relation to that. We want to do more.

“Once the ICJ gave a very clear opinion in July, I think that does place an obligation on countries to do more, including in the space of trade.

“It has consistently been our position that the European Union should review the trade agreement between Israel and the EU. That would be the most impactful way of making progress.

“Unfortunately, there is not a consensus in relation to that and we will continue to advocate and argue for that.

“We have said we want the Occupied Territories Bill to now be re-examined and indeed to be amended to comply with the Attorney General’s opinion.

“We are working in good faith on that.

“At the same we have got to be honest, there is going to be a general election within days.

“What I should say to people at home, and I think this is important, people sometimes think when the Dail has an election that every piece of legislation disappears. Of course that isn’t the case.

“Once the election takes place, the Dail can resume legislation at the point that it was at.”

Mr Harris said they will go into the general election with a “broad political consensus” among government and opposition parties on the importance of the legislation.

Mr Harris added that they are “days away” from the start of the general election.

It is expected that next week an election will be called, and Friday November 29 is seen as the most likely date.

The key piece of legislation will pass through all stages in the Dail on Tuesday, which will implement the changes to the universal social charge and inheritance tax.

“As I have consistently said, I won’t be dilly-dallying or waiting around once that piece of legislation is passed.

“So the exact choreography is a matter for during the week. But there will be an election in the coming days,” Mr Harris added.