This is the Spanish rial and so named because on one side it has the king's portrait and on the other the two bars of Hercules which were misinterpreted by the commoners as being a cannon madfaa .