How was law in Homer's Greece enforced?

A) by decree of the king
B) by rule of judges
C) by consensus of an assembly
D) by whoever had the weapons to enforce it