(4)The salary and allowances of any such person as aforesaid shall, if he is serving in connection with the affairs of the Federation, be charged on the revenues of the Federation and, if he is serving in connection with the affairs of a Province, be charged on the revenues of the Province :Provided that, if any such person is serving in connection with the railways in India, so much only of his salary and allowances shall be charged on the revenues of the Federation as is not paid out of the Railway Fund.