There is mobile detection code in 'moodlelib.php' so would be possible to change the code in some uniquie way. But to be honest the best thing is to work out what is wrong with the mobile theme such that it does not display the course properly as it does on a desktop so that you are not managing two versions of the same course for what is essentially a display issue.