General Deon knew that it would trouble him later that he punched Prince Ophilio, but there was a reason behind his action. It was to gain Tang Shaoyang's trust even further and show that he had more authority in the Galend Kingdom. Also, he needed to get rid of Prince Ophilio to finish up the conversation peacefully. On top of that, he also secured Prince Ophilio's safety by bringing the prince out of Tang Shaoyang's sight. This way, if the conversation broke down and a fight broke out, Prince Ophilio was in a safe place.
Indeed, Tang Shaoyang's trust in General Deon increased after the punch. That increased General Deon's credibility about his authority. Punching a prince was for sure a capital crime, but since General Deon dared to punch the prince, meaning he had the means to avoid being punished for punching a member of the royal family.