The author of Normal People, which was adapted into one of the most watched BBC dramas of recent years, has supported the campaign to reverse the ban.

In two witness statements provided to the High Court, Rooney said she believed that Israel had committed genocide in Gaza – and Palestine Action’s activity in the UK was from a “long and proud tradition of civil disobedience – the deliberate breaking of laws as an act of protest.”

She goes on: “I myself have publicly advocated the use of direct action, including property sabotage, in the cause of climate justice. It stands to reason that I should support the same range of tactics in the effort to prevent genocide.”

Israel has regularly denied that its actions in Gaza amount to genocide and says they are justified as a means of self-defence.

Rooney said the ban on Palestine Action under terrorism laws also had far reaching consequences for her as an author and her right to free expression.

She explained she periodically receives royalties from the BBC’s adaptions.

In August she declared in an Irish Times article that she intended to use those royalties “to go on supporting Palestine Action.”

Following that statement, she said she had been advised that any such payment to her for those televised dramatisations could be a breach of terrorism laws.

That warning had come from the independent producer of the two BBC dramatisations of her novels. It told her agent that it had received “unambiguous legal advice” that if it knew or suspected that Rooney was using royalties from the TV dramas to fund Palestine Action, then sending her the money would be a terrorism offence.

“It is therefore unclear whether any UK company can continue to make payments to me, even when it had agreed to do so,” said Rooney.