No matter what they were guilty of, it's the Lebanese government that confiscated 3000 tons of explosive material and stored it in conditions that lead to the explosion. It was their ammonium nitrate when it blew up and their responsibility.
All this "who owned that ship" stuff smells of finger pointing to hide the real guilty parties.