When you're inverted your ailerons appear to work in the reverse sense, e.g, if you want to turn left you must push the stick right. The localiser also works in the reverse sense when inverted, the two reversals cancel each other so from the pilots perspective it works in the correct sense. The G/S will be reversed though.