You clearly committed trespass and assault; other charges such as burglary and threatening behaviour are possible, depending on the view of the authorities.
It would be possible for your defence lawyer to argue that you were acting to prevent a crime, and if the court accepted the argument you would be acquitted. However, it is not a crime for Mario to party with Maria, no matter how far they go; the age of consent in the Philippines appears to be 12 normally and 18 in cases involving "force, threat, or intimidation", which seems unlikely here. So your actions were legally unjustifiable.
In other jurisdictions, the important point is the age of consent; if Maria has not reached it there was clearly some danger of Mario committing statutory rape, and trespass would be justified (though I doubt whether threats of violence would be). Otherwise, she can decide for herself.
(I am not your lawyer, I am not a Philippines lawyer.)