I just tried this on one of my toons that said "invalid skills". I went into a patrol to look at the ship's stats for max hull, max shield, and shield regen. They were identical so it looks like skills allocated in the skill tree are still active even though it says "invalid skills".