When you drop into normal space bottom left quadrant will display information about local allegiance. Also if you target a ship and it is not labeled "lawless" then you are in a legal jurisdiction.
But, I just checked and in fact there is a much simpler explanation: the system is undergoing a civil war and just turned Federal.