Par. 20.4 of the Rules
If there are no road markings or road signs before the railway crossing that define the number of traffic lanes, the passage of vehicles across the railway crossing is permitted only in single file.

In the next example, the number of lanes is defined by road marking, so you are not violating the Rules by moving in the second lane.
