Negative XP values applied via grantxp have two - signs. Related: if a player's current XP goes below 0 due to a negative xp penalty, the leveling bar fills. This is only a visual: the game still tracks a player's XP correctly, even below 0.