Well, in case labour laws prevent people being paid for some labour -- or if the applicant needs to be registered as an independent contractor in order to receive payment for the work -- can't the company just pay for the expenses (and a little extra) and thus compensate the applicant sufficiently? It should be possible to pay for travel, stay, lunch or other 'inconveniences' in case the labour/deliverables can't be paid for directly, right?
In my country the potential employee would have to be registered as an independent contractor before being able to charge for the provided service. And then if he wanted to become a full time employee he'd have to unregister as a contractor.
This rules out all manner of great employees. Basically all of them that have a job currently and have read their employment agreement.
In most places it is standard boilerplate that your employer gets approval rights on any outside work you do while employed by them. Current employees also have more restricted IP agreements typically which can put the contracting company in legal trouble as well.
For this reason, I've found paid real work projects problematic in that it biases against the currently employed.
Pay them.