Green MP Caroline Lucas told the court she felt it was important to protest about fracking to prevent the UK from being locked into using more fossil fuels.
Ms Lucas said: "I'm haunted by the idea that my children and my children's children will turn round to me and say, 'What did you do about this overwhelming threat?'"
Her co-defendants were also cleared of both charges against them. They were Josef Dobraszczyk, 22, from Bristol; Ruth Jarman, 50, from Hook, Hampshire; Sheila Menon, 42, from north east London; and Ruth Potts, 39, from Totnes, Devon.
More top news
ITV Border Political Editor Peter MacMahon says we've just seen a emotional former SNP MSP appearing to concede that the Yes side has lost.
ITV Border Political Editor Peter MacMahon says it's far too early to call this referendum.
A World War Two veteran has told ITV News he has fulfilled a boyhood dream by voting for an independent Scotland.