Wire colours reversed on switch
Dumb switches care not

A simple, dumb SPST light switch cares not which end is "line" and which end is "load".  In fact, in North America, the two live terminals on a basic light switch are not distinguishable from each other!  The labeling on your switch is probably a matter of convention, to keep with how more complex switches (such as multi-way switches) and lighting controls are labeled.