Taking note of illegally mined iron ore being shipped by the miners to the lucrative international markets by evading the regulatory system, the mines ministry has asked the shipping ministry to set up a mechanism to check if the royalty has been paid and the mines from which the mineral has been extracted are legal.