The outlet and plug type used in Madeira are C and F and in Tonga is I. This is how they look like.
In Tonga, outlets of type I are in use.
In Madeira, outlets of type C and F are in use.