You can only beat those who enter. If no one else enters, you are still the winner. It's not their fault no-one entered.
And yes, there are many masters national and world champions who have jerseys and medals and stripes because they were the only entrant. Doesn't matter that no one entered - sometimes showing up is the biggest part of the race.