Several countries have in the past banned ruling queens, but lacked any requirement that the king be male. This led to King Anna of Poland, and King Mary of Hungary.
Switzerland accidentally invaded Liechtenstein... More than once.
100