We have a long history with mortals that is not kind. There has been a separation between us for hundreds of years to either side of the Wall until recently.
So your actions were justified, it was simply to the wrong people. Treason isn't always so clear-cut as some people make it out to be.